mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
13 lines
487 B
Plaintext
13 lines
487 B
Plaintext
import python
|
|
private import semmle.python.pointsto.PointsTo
|
|
private import semmle.python.pointsto.PointsToContext
|
|
import Util
|
|
|
|
from EssaVariable v, EssaDefinition def, Object o, ClassObject cls
|
|
where
|
|
def = v.getDefinition() and
|
|
not v.getSourceVariable() instanceof SpecialSsaSourceVariable and
|
|
PointsTo::ssa_variable_points_to(v, _, o, cls, _)
|
|
select locate(def.getLocation(), "abcdegjqmns_"),
|
|
v.getRepresentation() + " = " + def.getRepresentation(), repr(o), repr(cls)
|