Instruction.next_instruction()
Returns a list of immediate following instructions in the control flow graph.
Last updated
Returns a list of immediate following instructions in the control flow graph.
Last updated
next_instruction() →
[
]
The difference between the next_instruction() function and is that this function will return a list of instructions that are immediately following the current instruction in the CFG (control-flow-graph).
The function operates non-recursively, meaning it works intra-procedurally.
For example, in the function:
for the instruction:
the function will return the instruction: