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

10 lines
285 B
Plaintext

import python
private import LegacyPointsTo
import Util
from SsaSourceVariable var, ControlFlowNode use
where
(use = var.getAUse() or var.hasRefinement(use, _)) and
not var instanceof SpecialSsaSourceVariable
select locate(use.getLocation(), "abd"), var.getName(), use.toString()