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

13 lines
245 B
Plaintext

/**
* @name Calls to function
* @description Finds calls to any function named "len"
* @tags call
* function
*/
import python
from FunctionObject len, CallNode call
where len.getName() = "len" and len.getACall() = call
select call