CodeQL queries 1.23

Skip to end of metadata
Go to start of metadata

Finds functions that call themselves

import python

from PythonFunctionValue f
where f.getACall().getScope() = f.getScope()
select f