fix(ghidra): resolve exact external function entries

This commit is contained in:
morluto
2026-10-09 03:54:02 +08:00
parent dcae3c6c14
commit 549effa056
7 changed files with 84 additions and 23 deletions
+4
View File
@@ -219,7 +219,11 @@ const containingProcedure = z.discriminatedUnion("found", [
.strict()
.superRefine((value, context) => {
const body = value.procedure.body;
const exactExternalEntry =
value.procedure.classification.external &&
value.query_address === value.procedure.address;
if (
!exactExternalEntry &&
body.available &&
!functionBodyEntryAgrees(
{ ...body, contains_entry: true },