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

Module PointsToContext

Import path

import semmle.python.pointsto.PointsToContext

Imports

Predicates

executes_in_runtime_context

Holds if this scope can be executed in the default context. All modules and classes executed at import time and all “public” functions and methods, including those invoked by the VM.

super_method_call

Classes

PointsToContext

A points-to context. Context can be one of: * “main”: Used for scripts. * “import”: Use for non-script modules. * “default”: Use for functions and methods without caller context. * All other contexts are call contexts and consist of a pair of call-site and caller context.