Files
codeql/python/ql/test/experimental/dataflow/summaries/extracted_package/functions.py
Rasmus Lerchedahl Petersen cfbc3f73ec Pyhton: add test for conflicting summaries
We noticed that when
- a function has more than one summary (with different charpred)
- one summary is subsumed by a subpath (or something happens around the function being extracted)
- the function is called multiple times(we needed at least three)
one of the summaries would no longer lead to flow.
2024-03-15 15:13:39 +01:00

5 lines
67 B
Python

def with_subpath(x):
return x
def without_subpath(x):
pass