File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
cpp/ql/lib/semmle/code/cpp/security Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ private predicate stmtDominates(Stmt dominator, Stmt dominated) {
41
41
}
42
42
43
43
/**
44
- * Holds if the value of `use` is guarded to be less than something.
44
+ * Holds if the value of `use` is guarded to be less than something, and `e`
45
+ * is in code controlled by that guard (where the guard condition held).
45
46
*/
46
47
pragma [ nomagic]
47
48
predicate guardedLesser ( Operation e , Expr use ) {
@@ -67,7 +68,8 @@ predicate guardedLesser(Operation e, Expr use) {
67
68
}
68
69
69
70
/**
70
- * Holds if the value of `use` is guarded to be greater than something.
71
+ * Holds if the value of `use` is guarded to be greater than something, and `e`
72
+ * is in code controlled by that guard (where the guard condition held).
71
73
*/
72
74
pragma [ nomagic]
73
75
predicate guardedGreater ( Operation e , Expr use ) {
You can’t perform that action at this time.
0 commit comments