Callable.get_reachable_instructions()
Returns the instructions which are reachable from the entry node
get_reachable_instructions() →
APISet
[
Instruction
]
Query Example
from glider import *
def query():
functions = Functions().exec(1)
for reachable_instruction in functions[0].get_reachable_instructions():
print(f"{reachable_instruction.source_code()}")
return functions
Example Output

Last updated