add nomagic on mayHaveStringValue

This commit is contained in:
Erik Krogh Kristensen
2021-04-08 21:37:32 +02:00
parent 956311457d
commit e5bce548de

View File

@@ -96,6 +96,7 @@ module DataFlow {
predicate accessesGlobal(string g) { globalVarRef(g).flowsTo(this) }
/** Holds if this node may evaluate to the string `s`, possibly through local data flow. */
pragma[nomagic]
predicate mayHaveStringValue(string s) {
getAPredecessor().mayHaveStringValue(s)
or