Class Make::BasicBlock
A basic block, that is, a maximal straight-line sequence of control flow nodes without branches or joins.
Import path
import codeql.controlflow.BasicBlockDirect supertypes
Predicates
| dominates | Holds if this basic block dominates basic block |
| edgeDominates | Holds if the edge with successor type |
| getANode | Gets a control flow node in this basic block. |
| getAPredecessor | Gets an immediate predecessor of this basic block, if any. |
| getAPredecessor | Gets an immediate predecessor of this basic block of a given type, if any. |
| getASuccessor | Gets an immediate successor of this basic block, if any. |
| getASuccessor | Gets an immediate successor of this basic block of a given type, if any. |
| getFirstNode | Gets the first control flow node in this basic block. |
| getImmediateDominator | Gets the basic block that immediately dominates this basic block, if any. |
| getLastNode | Gets the last control flow node in this basic block. |
| getLocation | Gets the location of this basic block. |
| getNode | Gets the control flow node at a specific (zero-indexed) position in this basic block. |
| getScope | Gets the CFG scope of this basic block. |
| immediatelyDominates | Holds if this basic block immediately dominates basic block |
| inDominanceFrontier | Holds if |
| inLoop | Holds if this basic block is in a loop in the control flow graph. |
| length | Gets the length of this basic block. |
| postDominates | Holds if this basic block post-dominates basic block |
| strictlyDominates | Holds if this basic block strictly dominates basic block |
| strictlyPostDominates | Holds if this basic block strictly post-dominates basic block |
| toString | Gets a textual representation of this basic block. |