prevent join between getAValue() and DefiniteAbstractValue in AMD.qll

This commit is contained in:
Erik Krogh Kristensen
2021-02-24 18:12:55 +01:00
parent be26a48a16
commit ea17de6225

View File

@@ -158,7 +158,7 @@ class AmdModuleDefinition extends CallExpr {
result = [getAnImplicitExportsValue(), getAnExplicitExportsValue()]
}
pragma[noinline]
pragma[noinline, nomagic]
private AbstractValue getAnImplicitExportsValue() {
// implicit exports: anything that is returned from the factory function
result = getModuleExpr().analyze().getAValue()