Files
codeql/cpp/ql/test/examples/docs-examples/analyzing-data-flow-in-cpp/fopen-no-flow.ql

8 lines
140 B
Plaintext

import cpp
from Function fopen, FunctionCall fc
where
fopen.hasGlobalName("fopen") and
fc.getTarget() = fopen
select fc.getArgument(0)