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

Class EscapingGlobalVariable

Import path

import python

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

Inherited predicates

getASourceUse

Gets a use of this variable that corresponds to an explicit use in the source.

from SsaSourceVariable
getAUse

Gets a use of this variable, either explicit or implicit.

from SsaSourceVariable
getName

Gets the name of this variable

from SsaSourceVariable
getScopefrom SsaSourceVariable
global_variable_callnodefrom ModuleVariable
global_variable_importfrom ModuleVariable
hasDefiningNode

Holds if def defines an ESSA variable for this variable.

from SsaSourceVariable
hasRefinement

Holds if def defines an ESSA variable for this variable in such a way that the new variable is a refinement in some way of the variable used at use.

from SsaSourceVariable
hasRefinementEdge

Holds if the edge pred->succ defines an ESSA variable for this variable in such a way that the new variable is a refinement in some way of the variable used at use.

from SsaSourceVariable
toString

Gets a textual representation of this element.

from SsaSourceVariable

Charpred