Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70465b2 commit 445b82bCopy full SHA for 445b82b
1 file changed
shared/rangeanalysis/codeql/rangeanalysis/RangeAnalysis.qll
@@ -189,6 +189,8 @@ signature module Semantic {
189
* Console.WriteLine("x is greater than y");
190
* }
191
* ```
192
+ * `branch` indicates whether the basic block is entered when the guard
193
+ * evaluates to `true` or when it evaluates to `false`.
194
*/
195
predicate directlyControls(BasicBlock controlled, boolean branch);
196
@@ -211,6 +213,8 @@ signature module Semantic {
211
213
* printf("x is not greater than y\n");
212
214
215
216
+ * `branch` indicates whether the second basic block is the one entered
217
+ * when the guard evaluates to `true` or when it evaluates to `false`.
218
219
predicate hasBranchEdge(BasicBlock bb1, BasicBlock bb2, boolean branch);
220
}
0 commit comments