fix(native): preserve observed function dossier coverage

Declare observed Ghidra and Hopper facets, preserve unavailable pseudocode, and attach dossier call-set coverage. Version the analysis profiles to invalidate older snapshots and remove the retired include_assembly fixture branch.

Add MCP comparison and snapshot-replay regressions plus real-provider checks for empty and unavailable facets. Fixes #2980.
This commit is contained in:
morluto
2026-10-14 07:11:55 +08:00
parent 80592b82a6
commit b1b0211c28
16 changed files with 232 additions and 23 deletions
+1
View File
@@ -82,6 +82,7 @@ export const resolveHopperAnalysisProfile = async (
profile: createAnalysisProfile(provider, {
target_kind: target.kind,
target_format: target.format,
function_dossier_coverage: "observed-facets-and-call-relationships-v1",
architecture: target.architecture ?? null,
available_architectures: [
...(target.availableArchitectures ?? []),
+2 -1
View File
@@ -272,7 +272,8 @@ export class HopperProvider implements AnalysisProviderCandidate {
rawResult,
...(profile === undefined ? {} : { analysisProfile: profile }),
...(operation === "procedure_callers" ||
operation === "procedure_callees"
operation === "procedure_callees" ||
operation === "analyze_function"
? { relationshipCoverage: { status: "complete" as const } }
: {}),
limitations: [