Repository navigation
feat(ghidra): admit explicit DOS COM analysis - #702
Merged
Merged
Conversation
Carry caller-selected COM interpretation through CLI, MCP and target identity, seed real-mode entry/context before Ghidra analysis, and verify complete loaded bytes, source mappings and measured register context. Keep original binaries unchanged and PSP/runtime coverage explicit. Assisted-by: Nitori (gensokyo-skills:nitori-reverse-engineering)
morluto
added a commit
that referenced
this pull request
Oct 6, 2026
morluto
added a commit
that referenced
this pull request
Oct 6, 2026
morluto
added a commit
that referenced
this pull request
Oct 6, 2026
…705) * fix(javascript): preserve array index positions Signed-off-by: RudyCelekli <[email protected]> * fix(javascript): respect object property overwrite order Signed-off-by: RudyCelekli <[email protected]> * test(javascript): cover uncertain spread discriminants Signed-off-by: RudyCelekli <[email protected]> * fix(javascript): keep nonfinite values outside JSON lattice Signed-off-by: RudyCelekli <[email protected]> * fix(dotnet): keep non-CIL method implementations unknown Signed-off-by: RudyCelekli <[email protected]> * test(package): separate CIL reconstruction from native imports Signed-off-by: RudyCelekli <[email protected]> * fix(javascript): invalidate values on nontrivial binding writes Signed-off-by: RudyCelekli <[email protected]> * fix(artifacts): align native DMG mount and detach lifecycle Signed-off-by: RudyCelekli <[email protected]> * fix(browser): retain all literal worker import arguments Signed-off-by: RudyCelekli <[email protected]> * fix(native): preserve final demangled symbol whitespace Signed-off-by: RudyCelekli <[email protected]> * fix(dotnet): preserve C identifier underscores in native matching Signed-off-by: RudyCelekli <[email protected]> * fix(browser): respect metadata key and overwrite semantics Signed-off-by: RudyCelekli <[email protected]> * fix(javascript): keep optional parameter input unknown Signed-off-by: RudyCelekli <[email protected]> * fix(dotnet): report observed method metadata changes Signed-off-by: RudyCelekli <[email protected]> * docs(dotnet): synchronize generated conformance skill digest Signed-off-by: RudyCelekli <[email protected]> * fix(browser): reject malformed indexed source-map offsets Signed-off-by: RudyCelekli <[email protected]> * fix(native): preserve numeric-looking Mach-O identifiers Signed-off-by: RudyCelekli <[email protected]> * docs: regenerate catalogs for integrated fix batch * docs: regenerate catalogs after merging main (#702) --------- Signed-off-by: RudyCelekli <[email protected]> Co-authored-by: RudyCelekli <[email protected]>
darsrc
pushed a commit
to darsrc/rea
that referenced
this pull request
Oct 10, 2026
* feat(ghidra): admit explicit DOS COM analysis Carry caller-selected COM interpretation through CLI, MCP and target identity, seed real-mode entry/context before Ghidra analysis, and verify complete loaded bytes, source mappings and measured register context. Keep original binaries unchanged and PSP/runtime coverage explicit. Assisted-by: Nitori (gensokyo-skills:nitori-reverse-engineering) * fix(verification): validate COM package selection before allocating fixtures
darsrc
pushed a commit
to darsrc/rea
that referenced
this pull request
Oct 10, 2026
…orluto#705) * fix(javascript): preserve array index positions Signed-off-by: RudyCelekli <[email protected]> * fix(javascript): respect object property overwrite order Signed-off-by: RudyCelekli <[email protected]> * test(javascript): cover uncertain spread discriminants Signed-off-by: RudyCelekli <[email protected]> * fix(javascript): keep nonfinite values outside JSON lattice Signed-off-by: RudyCelekli <[email protected]> * fix(dotnet): keep non-CIL method implementations unknown Signed-off-by: RudyCelekli <[email protected]> * test(package): separate CIL reconstruction from native imports Signed-off-by: RudyCelekli <[email protected]> * fix(javascript): invalidate values on nontrivial binding writes Signed-off-by: RudyCelekli <[email protected]> * fix(artifacts): align native DMG mount and detach lifecycle Signed-off-by: RudyCelekli <[email protected]> * fix(browser): retain all literal worker import arguments Signed-off-by: RudyCelekli <[email protected]> * fix(native): preserve final demangled symbol whitespace Signed-off-by: RudyCelekli <[email protected]> * fix(dotnet): preserve C identifier underscores in native matching Signed-off-by: RudyCelekli <[email protected]> * fix(browser): respect metadata key and overwrite semantics Signed-off-by: RudyCelekli <[email protected]> * fix(javascript): keep optional parameter input unknown Signed-off-by: RudyCelekli <[email protected]> * fix(dotnet): report observed method metadata changes Signed-off-by: RudyCelekli <[email protected]> * docs(dotnet): synchronize generated conformance skill digest Signed-off-by: RudyCelekli <[email protected]> * fix(browser): reject malformed indexed source-map offsets Signed-off-by: RudyCelekli <[email protected]> * fix(native): preserve numeric-looking Mach-O identifiers Signed-off-by: RudyCelekli <[email protected]> * docs: regenerate catalogs for integrated fix batch * docs: regenerate catalogs after merging main (morluto#702) --------- Signed-off-by: RudyCelekli <[email protected]> Co-authored-by: RudyCelekli <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
open_binary({path, format: "dos-com"})or CLI--target-format dos-com. Omission preserves header detection; the hint intentionally selects a complete-file interpretation independently of its filename. Validate the 64 KiB segment / 256-byte PSP format extent and reject contradictory target kinds.1000:0100, the x86 real-mode language and default compiler spec. A packaged pre-analysis script seeds the entry and CS/DS/ES/SS context. Failed preparation prevents bridge startup.Verification
npm run check:fast;npm run docs:check.node scripts/verify-real-ghidra-com.mjs: Linux x64 / Ghidra 12.1.4, generated public fixture, CLI/MCP parity for load-image/whole-file bytes/source offsets, imposed entry context, unmapped PSP/partial read, function discovery/decompilation, unchanged original and no surviving owned descendants. Runb2d266c0-bcfb-4efc-874b-a1e57e1285aa.ec12a784-ea4f-4b57-a424-0acb251e0ba1.e975cc01-adb5-43af-8936-ea580bd05fa5.Examples
{"name":"open_binary","arguments":{"path":"/absolute/path/to/legacy.com","format":"dos-com","provider_id":"ghidra"}} {"name":"inspect_native_load_image","arguments":{}}COM is an explicit interpretation, not magic-based format identification. Verified import and decompilation do not establish DOS/PC-98 execution or source reconstruction.