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

Module ModelOutput

Module providing access to the imported models in terms of API graph nodes.

Import path

import semmle.python.frameworks.data.internal.ApiGraphModels

Imports

Predicates

barrierNode

Holds if node is specified as a barrier with the given kind in an external model.

getABarrierGuardNode

Holds if an external model contributed barrier-guard with the given kind and branch.

getABarrierNode

Holds if an external model contributed barrier with the given kind.

getASinkNode

Holds if an external model contributed sink with the given kind.

getASourceNode

Holds if an external model contributed source with the given kind.

getAWarning

Gets an error message relating to an invalid CSV row in a model.

sinkNode

Holds if node is specified as a sink with the given kind in an external model.

sourceNode

Holds if node is specified as a source with the given kind in an external model.