CodeQL library for C/C++
codeql/cpp-all 0.3.5 (changelog, source)
Search

Member predicate FormattingFunctionCall::getOutputArgument

Gets the argument, if any, to which the output is written. If isStream is true, the output argument is a stream (that is, this call behaves like fprintf). If isStream is false, the output argument is a buffer (that is, this call behaves like sprintf)

Expr getOutputArgument(boolean isStream)