Point.df_reaches_from_functions_arguments()
Returns the list of pairs, where the first element is the function and the second element the argument number from which data flow reaches to the point (it may reach through a chain of calls).
Query Example
from glider import *
def query():
instructions = Instructions().exec(1, 77)
for ins in instructions:
reaching_points = ins.df_reaches_from_functions_arguments()
for reaching_point in reaching_points:
print(f"Point: {reaching_point[0].source_code()} | Argument index {reaching_point[1]}")
return instructionsOutput Example

Here is a more detailed output
Last updated