Files
codeql/cpp/ql/test/library-tests/arguments/arguments.ql
2024-06-25 09:16:05 +02:00

9 lines
217 B
Plaintext

import cpp
from Compilation c, int i, string s
// Skip the extractor name; it'll vary depending on platform
where
i > 0 and
s = c.getArgument(i).replaceAll("\\", "/")
select c.getAFileCompiled().toString(), i, s