fix(ghidra): omit duplicate load-image result (#7777)

* fix(ghidra): omit duplicate load-image result

* docs(mcp): describe load-image evidence projection
This commit is contained in:
Ha1baraA1 authored and GitHub committed 2026-10-29 08:23:38 +08:00
1 parent 64d282b0a6
commit a965cbab06
5 files changed
+59 -13

No files matched your search

+11
View File
@@ -166,6 +166,17 @@ export type NativeLoadImage = z.infer<typeof nativeLoadImageSchema>;
export type NativeLoadImageObservation = z.infer<
typeof nativeLoadImageObservationSchema
>;
/** Remove entry-context rows that carry no register observations. */
export const normalizeNativeLoadImageObservation = (
observation: NativeLoadImageObservation,
): NativeLoadImageObservation => ({
...observation,
entry_context: observation.entry_context.filter(
({ registers }) => registers.length > 0,
),
});
/** One independently compared native import fact. */
export type NativeLoadImageCheck = z.infer<typeof nativeLoadImageCheckSchema>;