mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
13 lines
258 B
Plaintext
13 lines
258 B
Plaintext
/**
|
|
* @name Mutual recursion
|
|
* @description Finds pairs of functions that call each other
|
|
* @tags method
|
|
* recursion
|
|
*/
|
|
|
|
import python
|
|
|
|
from FunctionObject m, FunctionObject n
|
|
where m != n and m.getACallee() = n and n.getACallee() = m
|
|
select m, n
|