Files
codeql/python/ql/test/library-tests/PointsTo/new/ClassMethod.ql
2018-11-19 15:15:54 +00:00

10 lines
252 B
Plaintext

import python
import semmle.python.types.Descriptors
import Util
from ClassMethodObject cm, CallNode call
where call = cm.getACall()
select locate(call.getLocation(), "lp"), cm.getFunction().toString(), cm.(ControlFlowNode).getLocation().toString()