mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
add nomagic on mayHaveStringValue
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user