mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
10 lines
366 B
Plaintext
Executable File
10 lines
366 B
Plaintext
Executable File
import python
|
|
import Util
|
|
import semmle.python.pointsto.PointsTo
|
|
import semmle.python.pointsto.PointsToContext
|
|
|
|
from ControlFlowNode f, Object o, ClassObject c, ControlFlowNode x, PointsToContext ctx
|
|
where PointsTo::points_to(f, ctx, o, c, x)
|
|
select locate(f.getLocation(), "abeghijklmnpqrstu"), f.toString(), repr(o), repr(c),
|
|
x.getLocation().getStartLine(), ctx
|