Instruction.next_instructions()
Returns a list of all instructions following the current node in the control flow graph.
Last updated
Returns a list of all instructions following the current node in the control flow graph.
Last updated
next_instructions() →
[
]
The difference between the next_instructions() function and is that this function will return all instructions following the current instruction in the CFG (control-flow-graph).
The function is non-recursive (intra-procedural), and thus will not follow function calls; for the recursive (inter-procedural) variant of this function, use .
For example, in the function:
for the instruction:
the function will return the instructions: