Point.get_tainted_sources_affecting_point()
Returns all tainted sources that influence the point. This includes not only tainted sources within the current function but also extends to sources belonging to other functions.
Query Example
from glider import *
def query():
instructions = Instructions().exec(1,1)
affected_points = instructions[0].get_tainted_sources_affecting_point()
print(affected_points)
for point in affected_points:
print(point.source_code())
return instructionsOutput Example

Last updated