> 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_tainted_sources_affecting_point.md).

# 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.

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

Returns A set of tainted sources that affect the point.

## Query Example

```python
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 instructions
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F3TY6XtKmNl5Knt2GXjt0%2Fimage.png?alt=media&amp;token=e960b99f-c00e-4d6f-8e4b-393360e4a991" alt=""><figcaption></figcaption></figure>
