We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hasGlobalName()
1 parent d7c784e commit 3195f0cCopy full SHA for 3195f0c
cpp/ql/src/experimental/Best Practices/GuardedFree.ql
@@ -14,7 +14,7 @@
14
import cpp
15
16
class FreeCall extends FunctionCall {
17
- FreeCall() { this.getTarget().hasName("free") }
+ FreeCall() { this.getTarget().hasGlobalName("free") }
18
}
19
20
from IfStmt stmt, FreeCall fc, Variable v
0 commit comments