Files
reverse-engineering-anything/scripts/lib/real-ghidra-instruction-flow.d.mts
T
morluto ea00ca2d46 fix(verify): preserve Ghidra oracle state and coverage (#9994)
* fix(verify): check checkpoint state before restoring fixtures

* fix(verify): require applicable Ghidra decoder controls

* refactor(verify): require explicit instruction fixture facts
2026-11-11 17:21:11 +08:00

20 lines
784 B
TypeScript

import type { BinaryTarget } from "../../src/domain/binaryTargetTypes.js";
/** Check source-owned inventory controls using independently parsed target facts. */
export function verifyGhidraInstructionFlow(
call: (
operation: string,
parameters: Readonly<Record<string, string>>,
) => Promise<unknown>,
names: readonly { readonly address: string; readonly value: string }[],
cli: (command: string, address: string) => Promise<unknown>,
target: Pick<BinaryTarget, "format" | "architecture"> | null,
): Promise<{
readonly return_instruction: string;
readonly decoded_pcode_return: true;
readonly return_cli_mcp_parity: true;
readonly explicit_x86_elf_controls: number;
readonly explicit_control_scope: string;
readonly generic_unknown_preserved: true;
}>;