Callable.extended_instructions()
Returns the set of all instructions from the current function entry in the control flow graph.
Last updated
Returns the set of all instructions from the current function entry in the control flow graph.
Last updated
extended_instructions() ->
[
]
The function is the extended/inter-procedural variant of the , meaning that it works recursively. It returns a set of Instructions object representing all the instructions which are reachable from the target function, the differences between extended_instructions()
and instructions()
the latter will only return instructions directly accessible from the function. At the same time, the extended version will find all the instructions recursively, which are eventually called when executing the function.
Also, note that the return types of extended_instructions() -> APISet[Instruction]
and instructions() -> Instructions
are different, the extended version returns an APISet of Instruction objects, while the original one returns Instructions (queryable) object.
For the function:
The output is: