mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
One might argue that these should be rewritten entirely to use more modern APIs, but for now I'll be content with just having them compile properly.
15 lines
289 B
Plaintext
15 lines
289 B
Plaintext
/**
|
|
* @id py/examples/call
|
|
* @name Calls to function
|
|
* @description Finds calls to any function named "len"
|
|
* @tags call
|
|
* function
|
|
*/
|
|
|
|
import python
|
|
private import LegacyPointsTo
|
|
|
|
from Value len, CallNode call
|
|
where len.getName() = "len" and len.getACall() = call
|
|
select call
|