mirror of
https://github.com/morluto/rea.git
synced 2026-10-18 20:10:13 -05:00
Admit Windows ARMNT/Thumb-2 and ARM64 PE targets using preserved COFF machine facts. Keep unsupported machine gates explicit and distinguish loader-selected versus configured language provenance. Verified with real Windows Ghidra 12.1.4 CLI/MCP workflows, ARM fixtures and Microsoft-signed Coreinfo ARM64 / MSVCR120 ARM inputs. Resource limits, analyzer overrides, startup timeout observations and verification gaps are documented in the PR. Final CI and automated review passed. Fixes #2186
22 lines
586 B
TypeScript
22 lines
586 B
TypeScript
export const WINDOWS_GHIDRA_FIXTURE_ARCHITECTURES: readonly [
|
|
"x86_64",
|
|
"x86",
|
|
"arm",
|
|
"arm64",
|
|
];
|
|
export const WINDOWS_GHIDRA_FIXTURE_FLAGS: readonly string[];
|
|
|
|
/** Select one architecture without interpreting positional paths as flags. */
|
|
export function windowsGhidraFixtureOptions(arguments_: readonly string[]): {
|
|
architecture: (typeof WINDOWS_GHIDRA_FIXTURE_ARCHITECTURES)[number];
|
|
dll: boolean;
|
|
pe32: boolean;
|
|
imageBase: bigint;
|
|
calleeRva: number;
|
|
machine: number;
|
|
filename: string;
|
|
languageId: string;
|
|
callerAddress: string;
|
|
calleeAddress: string;
|
|
};
|