Files
codeql/python/ql/test/library-tests/PointsTo/new/PointsToUnknown.ql
2020-03-30 11:59:10 +02:00

9 lines
299 B
Plaintext

import python
import Util
import semmle.python.pointsto.PointsTo
import semmle.python.objects.ObjectInternal
from ControlFlowNode f, ControlFlowNode x
where PointsTo::pointsTo(f, _, ObjectInternal::unknown(), x)
select locate(f.getLocation(), "abchr"), f.toString(), x.getLocation().getStartLine()