mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
12 lines
307 B
Plaintext
12 lines
307 B
Plaintext
import python
|
|
private import LegacyPointsTo
|
|
|
|
int lineof(Object o) { result = o.getOrigin().getLocation().getStartLine() }
|
|
|
|
from Object m, FunctionObject f
|
|
where
|
|
m.(ClassMethodObject).getFunction() = f
|
|
or
|
|
m.(StaticMethodObject).getFunction() = f
|
|
select lineof(m), m.toString(), lineof(f), f.toString()
|