CodeQL queries 1.25
Skip to end of metadata
Go to start of metadata

Finds calls to any function named "len"

import python

from Value len, CallNode call
where len.getName() = "len" and len.getACall() = call
select call