mirror of
https://github.com/github/codeql.git
synced 2026-02-17 15:33:45 +01:00
15 lines
226 B
Plaintext
15 lines
226 B
Plaintext
import cpp
|
|
|
|
Function getCFGFunction(Initializer i) {
|
|
result = i.getASuccessor*()
|
|
}
|
|
|
|
from Initializer i, string f
|
|
where
|
|
if exists(getCFGFunction(i)) then (
|
|
f = getCFGFunction(i).toString()
|
|
) else (
|
|
f = ""
|
|
)
|
|
select i, f
|