Skip to content

Commit e5bce54

Browse files
committed
add nomagic on mayHaveStringValue
1 parent 9563114 commit e5bce54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/src/semmle/javascript/dataflow/DataFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ module DataFlow {
9696
predicate accessesGlobal(string g) { globalVarRef(g).flowsTo(this) }
9797

9898
/** Holds if this node may evaluate to the string `s`, possibly through local data flow. */
99+
pragma[nomagic]
99100
predicate mayHaveStringValue(string s) {
100101
getAPredecessor().mayHaveStringValue(s)
101102
or

0 commit comments

Comments
 (0)