fix(ghidra): preserve function references and snapshot boundaries
Collect references from the complete owned function body and exact entry, including instruction-interior destinations and embedded-data sources. Bind the corrected semantics to the analysis profile so legacy snapshots cannot replay incomplete results. Preserve snapshot mismatch reasons and recovery advice through CLI and MCP without disturbing live sessions. Return exact entry candidates for ambiguous function names. Expand the real-provider regression workflow and replace redundant parser assertions with malformed-output coverage through the pinned MCP client. Verified with Ghidra 12.1.4 on macOS arm64: full host-native lane, real CLI/MCP boundary probes, 30 focused tests, and typecheck/lint.
This commit is contained in:
@@ -17,6 +17,9 @@ export class EvidenceIntegrityError extends AnalysisError {
|
||||
}
|
||||
}
|
||||
|
||||
/** A valid snapshot belongs to a different target, provider, or analysis profile. */
|
||||
export class AnalysisSnapshotMismatchError extends EvidenceIntegrityError {}
|
||||
|
||||
/** A session Evidence reference is missing or has the wrong semantic identity. */
|
||||
export class EvidenceReferenceError extends EvidenceIntegrityError {
|
||||
constructor(
|
||||
|
||||
Reference in New Issue
Block a user