We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ccd208 commit 3b2512fCopy full SHA for 3b2512f
cpp/ql/src/semmle/code/cpp/security/Overflow.qll
@@ -13,6 +13,7 @@ predicate guardedAbs(Operation e, Expr use) {
13
}
14
15
/** is the size of this use guarded to be less than something? */
16
+pragma[nomagic]
17
predicate guardedLesser(Operation e, Expr use) {
18
exists(IfStmt c, RelationalOperation guard |
19
use = guard.getLesserOperand().getAChild*() and
@@ -33,6 +34,7 @@ predicate guardedLesser(Operation e, Expr use) {
33
34
35
36
/** is the size of this use guarded to be greater than something? */
37
38
predicate guardedGreater(Operation e, Expr use) {
39
40
use = guard.getGreaterOperand().getAChild*() and
0 commit comments