mirror of
https://github.com/morluto/rea.git
synced 2026-11-08 15:56:35 +00:00
feat(ghidra): admit verified MIPS16 shared ELF images
Admit the verified ELF32 o32 MIPS32r2 MIPS16 shared-image profile after complete source load and relocation inspection. Preserve caller-selected bytes, pin the endian-matched language, and report per-address decoder context. Refuse unverified relocation shapes with explicit reasons. Verified on Linux x64 with Ghidra 12.1.4: eight source-owned public CLI/MCP controls, original-artifact instruction/pseudocode/export replay, snapshot restore and owned cleanup. 152 integrated focused tests, static checks and documentation checks passed. Fixes #1851 Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
This commit is contained in:
19 files changed
+1460
-37
No files matched your search
@@ -18,6 +18,15 @@ export interface MipsElfMetadata {
|
||||
readonly abiFlags?: MipsAbiFlags | null;
|
||||
/** Unavailable declaration sources; missing records there remain unknown. */
|
||||
readonly limitations?: readonly string[];
|
||||
/** Complete dynamic REL declarations, or the reason they could not be inspected. */
|
||||
readonly sharedLoad?:
|
||||
| {
|
||||
readonly status: "complete";
|
||||
readonly relocationCount: number;
|
||||
readonly relocationTypes: readonly number[];
|
||||
readonly symbolRelativeCount: number;
|
||||
}
|
||||
| { readonly status: "unavailable"; readonly reason: string };
|
||||
}
|
||||
|
||||
/** Declared fields of the 24-byte MIPS ABI flags record, not inferred semantics. */
|
||||
|
||||
Reference in new issue
Block a user