mirror of
https://github.com/morluto/rea.git
synced 2026-11-04 22:06:10 +00:00
* feat(ghidra): admit explicit DOS COM analysis Carry caller-selected COM interpretation through CLI, MCP and target identity, seed real-mode entry/context before Ghidra analysis, and verify complete loaded bytes, source mappings and measured register context. Keep original binaries unchanged and PSP/runtime coverage explicit. Assisted-by: Nitori (gensokyo-skills:nitori-reverse-engineering) * fix(verification): validate COM package selection before allocating fixtures
22 lines
816 B
TypeScript
22 lines
816 B
TypeScript
import { executableFormatHintSchema } from "../domain/dosCom.js";
|
|
import { z } from "zod";
|
|
import { analysisProviderSelectorSchema } from "./providerSelection.js";
|
|
|
|
/** Input contract for opening a target with an optional staged snapshot. */
|
|
export const openBinaryInputSchema = z.object({
|
|
path: z.string().min(1),
|
|
format: executableFormatHintSchema
|
|
.optional()
|
|
.describe(
|
|
"Explicit headerless DOS COM interpretation; omission preserves header-based detection",
|
|
),
|
|
provider_id: analysisProviderSelectorSchema.optional(),
|
|
snapshot_path: z.string().min(1).optional(),
|
|
});
|
|
|
|
/** Input contract for closing a target after an optional atomic snapshot. */
|
|
export const closeBinaryInputSchema = z.object({
|
|
snapshot_path: z.string().min(1).optional(),
|
|
overwrite: z.boolean().default(false),
|
|
});
|