mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
C++: Fixup tests.
This commit is contained in:
@@ -27,7 +27,7 @@ where
|
||||
)
|
||||
)
|
||||
or
|
||||
exists(AbstractValue value |
|
||||
exists(GuardValue value |
|
||||
guard.comparesLt(left, k, true, value) and op = " < "
|
||||
or
|
||||
guard.comparesLt(left, k, false, value) and op = " >= "
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
import cpp
|
||||
import semmle.code.cpp.controlflow.Guards
|
||||
|
||||
from GuardCondition guard, AbstractValue value, BasicBlock block
|
||||
from GuardCondition guard, GuardValue value, BasicBlock block
|
||||
where guard.valueControls(block, value)
|
||||
select guard, value, block
|
||||
|
||||
Reference in New Issue
Block a user