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:
@@ -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 ?? []),
|
||||
|
||||
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user