fix(hopper): preserve native navigation and annotation semantics

This commit is contained in:
morluto
2026-10-09 02:42:39 +08:00
parent b743bd20a0
commit f2e22e13a6
4 changed files with 93 additions and 24 deletions
+9
View File
@@ -212,6 +212,15 @@ export const localVariableSchema = z
.object({
description: z.string(),
provenance: z.string().min(1),
name: z.string().nullable().exactOptional(),
stack_displacement: z
.string()
.regex(/^-?\d+$/u)
.nullable()
.exactOptional()
.describe(
"Observed signed stack byte displacement, encoded as decimal to preserve precision.",
),
})
.strict();
/** Provider-neutral complete raw-instruction list for one analyzed function. */