Files
codeql/python/ql/test/experimental/dataflow/enclosing-callable/EnclosingCallable.ql
2022-11-15 11:11:59 +01:00

7 lines
209 B
Plaintext

import python
import semmle.python.dataflow.new.DataFlow
from DataFlow::CfgNode node
where exists(node.getLocation().getFile().getRelativePath())
select node.getEnclosingCallable() as enclosingCallable, node