mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
fix(native): preserve endpoint context in function comparisons
This commit is contained in:
1 parent
211e3533b3
commit
edf7b3d32c
12 files changed
+638
-117
No files matched your search
@@ -2,7 +2,7 @@ import type { Evidence } from "../evidence.js";
|
||||
import type { FunctionDossier } from "../hopperValues.js";
|
||||
import { digestCanonicalValue } from "../canonicalDigest.js";
|
||||
import {
|
||||
isAutoName,
|
||||
hasStableFunctionName,
|
||||
normalizeCfg,
|
||||
} from "../functionComparisonNormalization.js";
|
||||
import { assessFunctionCallCoverage } from "../functionCallCoverage.js";
|
||||
@@ -29,9 +29,7 @@ export const functionStructuralCandidate = (
|
||||
if (
|
||||
cfg === null ||
|
||||
cfg.length === 0 ||
|
||||
dossier.callees.some(
|
||||
(callee) => isAutoName(callee.name) || callee.name.length === 0,
|
||||
)
|
||||
dossier.callees.some((callee) => !hasStableFunctionName(callee.name))
|
||||
)
|
||||
return null;
|
||||
const calls = dossier.callees
|
||||
|
||||
Reference in new issue
Block a user