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

Module ApiGraphs

Provides an implementation of API graphs, which are an abstract representation of the API surface used and/or defined by a code base.

The nodes of the API graph represent definitions and uses of API components. The edges are directed and labeled; they specify how the components represented by nodes relate to each other.

Import path

import semmle.python.ApiGraphs



Provides a library for local (intra-procedural) and global (inter-procedural) data flow analysis: deciding whether data can flow from a source to a sink.



Provides classes and predicates for working with the API boundary between the current codebase and external libraries.