mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
16 lines
287 B
Plaintext
16 lines
287 B
Plaintext
/**
|
|
* @name Call to built-in function
|
|
* @description Finds calls to the built-in `len` function.
|
|
* @id go/examples/calltolen
|
|
* @tags call
|
|
* function
|
|
* len
|
|
* built-in
|
|
*/
|
|
|
|
import go
|
|
|
|
from DataFlow::CallNode call
|
|
where call = Builtin::len().getACall()
|
|
select call
|