Files
codeql/python/ql/test/library-tests/PointsTo/global/Global.ql
2025-11-26 12:30:31 +00:00

9 lines
263 B
Plaintext

import python
private import LegacyPointsTo
from ControlFlowNode f, PointsToContext ctx, Value obj, ControlFlowNode orig
where
exists(ExprStmt s | s.getValue().getAFlowNode() = f) and
PointsTo::pointsTo(f, ctx, obj, orig)
select ctx, f, obj.toString(), orig