fix(hopper): add bounded analysis recovery

This commit is contained in:
N0zoM1z0
2026-07-24 00:33:29 +09:00
committed by N0zoM1z0
parent 161377a505
commit e0bc7fd973
68 changed files with 1750 additions and 368 deletions
+12
View File
@@ -143,6 +143,18 @@ const boundedSchema = <T extends z.ZodType>(item: T) =>
});
}
});
/** Provider-neutral bounded raw-instruction window for one analyzed function. */
export const functionInstructionWindowSchema = z
.object({
procedure: procedureIdentitySchema,
instructions: boundedSchema(z.string()),
instructions_scanned: z.number().int().min(0),
instruction_scan_truncated: z.boolean(),
limitations: z.array(z.string()),
})
.strict();
const availableReferenceKindSchema = z
.object({
available: z.literal(true),