mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
16 lines
319 B
Plaintext
16 lines
319 B
Plaintext
/**
|
|
* @id py/examples/method-call
|
|
* @name Call to method
|
|
* @description Finds calls to MyClass.methodName
|
|
* @tags call
|
|
* method
|
|
*/
|
|
|
|
import python
|
|
|
|
from AstNode call, PythonFunctionValue method
|
|
where
|
|
method.getQualifiedName() = "MyClass.methodName" and
|
|
method.getACall().getNode() = call
|
|
select call
|