> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/point/point/point.get_all_tainted_paths_affecting_point.md).

# Point.get\_all\_tainted\_paths\_affecting\_point()

Returns all paths containing tainted data that influence the point. This includes not only tainted paths within the current function but also extends to paths belonging to other functions.

`get_all_tainted_paths_affecting_point() →` [`APISet`](/glider-ide/api/iterables/apiset.md)`[`[`APITuple`](/glider-ide/api/iterables/apituple.md)`[`[`Point`](/glider-ide/api/point/point.md)`]]`

Returns a set of paths containing tainted data that affect the point.

## Query Example

```python
from glider import *


def query():
  instructions = Instructions().exec(1,1)

  affected_points = instructions[0].get_all_tainted_paths_affecting_point()
  print(affected_points)
  for point in affected_points:
    print(point.source_code())
  return instructions
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FWZ6AEaEjiLj1P7LB4C7M%2Fimage.png?alt=media&amp;token=d9affef1-1193-49ec-8da7-8f39d01f0485" alt=""><figcaption></figcaption></figure>
