Files
codeql/python/ql/examples/snippets/method_call.ql
2019-07-26 17:47:11 +02:00

15 lines
285 B
Plaintext

/**
* @name Call to method
* @description Finds calls to MyClass.methodName
* @tags call
* method
*/
import python
from AstNode call, FunctionObject method
where
method.getQualifiedName() = "MyClass.methodName" and
method.getACall().getNode() = call
select call