We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd4f8c5 commit 648acc3Copy full SHA for 648acc3
cpp/ql/src/Likely Bugs/OO/UnsafeUseOfThis.ql
@@ -12,8 +12,11 @@
12
* security
13
*/
14
15
-import semmle.code.cpp.ir.IR
16
import cpp
+// We don't actually use the global value numbering library in this query, but without it we end up
17
+// recomputing the IR.
18
+private import semmle.code.cpp.valuenumbering.GlobalValueNumbering
19
+private import semmle.code.cpp.ir.IR
20
21
bindingset[n, result]
22
int unbind(int n) { result >= n and result <= n }
0 commit comments