Files
rea/src/application/reverse/ReverseEngineeringCommandPort.ts
T
gensokyo-dev 17f581ff75 perf(reverse): add retained GDB and objdump summaries (#5614)
Add opt-in retained GDB and objdump summaries using the shared analysis-view layer. Preserve default complete Evidence, ordered records, provenance and completion facts.

Validate real Bash disassembly, whole-client context costs, CLI publication and cleanup; retain the original measured cohorts and explicit coverage limitations.

Closes #5584.
2026-10-21 01:20:52 +08:00

20 lines
743 B
TypeScript

import type { EvidenceProvider } from "../../domain/evidence.js";
import type {
ObjdumpSelection,
RizinInput,
} from "../../domain/reverseEngineering.js";
/** Provider-neutral command profile consumed by the shared application workflow. */
export interface ReverseEngineeringProviderCommand {
readonly executable: string;
readonly arguments: readonly string[];
readonly identity: EvidenceProvider;
readonly environmentOverrides?: Readonly<NodeJS.ProcessEnv>;
}
/** Provider-specific command construction stays outside the application layer. */
export interface ReverseEngineeringCommandPort {
objdump(input: ObjdumpSelection): ReverseEngineeringProviderCommand;
rizin(input: RizinInput): ReverseEngineeringProviderCommand;
}