Files
codeql/python/ql/test/library-tests/ApiGraphs/py3/test_crosstalk.ql
Rasmus Lerchedahl Petersen 3b7e29bed6 Python: add test for crosstalk
2023-12-20 12:08:05 +01:00

9 lines
261 B
Plaintext

import python
import semmle.python.ApiGraphs
from API::CallNode callNode, string member
where
callNode = API::moduleImport("foo").getMember(member).getACall() and
callNode.getLocation().getFile().getBaseName() = "test_crosstalk.py"
select callNode, member