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) {
4141}
4242
4343/**
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).
4546 */
4647pragma [ nomagic]
4748predicate guardedLesser ( Operation e , Expr use ) {
@@ -67,7 +68,8 @@ predicate guardedLesser(Operation e, Expr use) {
6768}
6869
6970/**
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).
7173 */
7274pragma [ nomagic]
7375predicate guardedGreater ( Operation e , Expr use ) {
You can’t perform that action at this time.
0 commit comments