Recursion
Author: LGTM
import python
from PythonFunctionValue f
where f.getACall().getScope() = f.getScope()
select f
Description
Finds functions that call themselves
import python
from PythonFunctionValue f
where f.getACall().getScope() = f.getScope()
select f
Finds functions that call themselves