feat(ghidra): add function analysis and conformance

This commit is contained in:
N0zoM1z0
2026-07-16 04:17:08 +09:00
committed by N0zoM1z0
parent a45de27d9e
commit d8321defd7
131 changed files with 4224 additions and 301 deletions
+17 -2
View File
@@ -13,6 +13,7 @@ import {
isAutoName,
normalizeCfg,
project,
referenceKindProjection,
referenceProjection,
sorted,
stringAndNameProjection,
@@ -359,16 +360,30 @@ const compareReferences = (
rightCount: rightProjection.length,
textDelta: null,
limitations: [
"Reference endpoints differ; exact reference kinds remain unavailable.",
"Reference endpoints differ independently of provider reference-kind metadata.",
],
});
const leftKinds = referenceKindProjection(left);
const rightKinds = referenceKindProjection(right);
if (leftKinds !== null && rightKinds !== null)
return compareValues(
"references",
leftKinds,
rightKinds,
links,
true,
true,
providersDiffer,
);
return unresolvedDimension(
"references",
"unknown",
links,
leftProjection.length,
rightProjection.length,
["Reference kinds are unavailable in the current dossier contract."],
[
"At least one provider did not expose reference kinds, so equal endpoints do not prove equal edge semantics.",
],
);
};