fix(ghidra): preserve decoded return flow evidence

This commit is contained in:
N0zoM1z0
2026-10-09 18:53:28 +08:00
parent c5c75c38c3
commit bcc8a773e2
8 changed files with 174 additions and 4 deletions
+11
View File
@@ -59,6 +59,17 @@ export const nativeInstructionSchema = z.strictObject({
conditional: z.boolean(),
computed: z.boolean(),
direct_destinations: z.array(z.string()),
classification_evidence: z
.array(
z.strictObject({
source: z.string().min(1),
value: z.string().min(1),
}),
)
.optional()
.describe(
"Observed provider facts used to classify flow; older captures or other providers may omit them.",
),
}),
references: z.array(reference),
limitations: z.array(z.string()),
+1
View File
@@ -44,6 +44,7 @@ export const resolveGhidraAnalysisProfile = (
function_body_evidence: "complete-inclusive-ranges-v1",
function_references: "complete-body-and-entry-reference-manager-v2",
location_resolution: "explicit-address-exact-entry-symbol-first-v3",
instruction_flow_evidence: "decoded-return-pcode-v1",
process_launch:
installation.platform === "win32"
? "official-headless-script-v1"