CodeQL library for Python
codeql/python-all 0.12.0 (changelog, source)
Search

Predicate PathInjectionConfig::isSource

Holds if source is a relevant data flow source with the given initial state.

Import path

import semmle.python.security.dataflow.PathInjectionQuery
predicate isSource(Node source, FlowState state)