Instruction.previous_instruction()
Returns a list of immediate previous instructions in the control flow graph.
Last updated
Returns a list of immediate previous instructions in the control flow graph.
Last updated
previous_instruction() →
[
]
The difference between the previous_instruction() function and is that this function will return a list of immediate previous instructions of 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: