fix(ghidra): admit carved MIPS ELF with incomplete section tables (#1629)

* fix(ghidra): inspect carved MIPS ABI declarations without missing sections

* test: share filesystem fixtures and cleanup assertions
This commit is contained in:
Ysopwnable
2026-10-11 04:33:05 +08:00
committed by GitHub
parent bbd01923e9
commit d6f698d8af
9 changed files with 313 additions and 116 deletions
+3 -1
View File
@@ -14,8 +14,10 @@ export interface MipsElfMetadata {
readonly byteOrder: "little" | "big";
readonly type: number;
readonly flags: number;
/** Undefined until inspected; null means neither typed table has a record. */
/** Undefined until inspected; null means no ABI record was observed. */
readonly abiFlags?: MipsAbiFlags | null;
/** Unavailable declaration sources; missing records there remain unknown. */
readonly limitations?: readonly string[];
}
/** Declared fields of the 24-byte MIPS ABI flags record, not inferred semantics. */