Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c9217 commit 181eb80Copy full SHA for 181eb80
1 file changed
cpp/ql/lib/semmle/code/cpp/commons/Printf.qll
@@ -255,7 +255,10 @@ class FormattingFunctionCall extends Expr {
255
}
256
257
/**
258
- *
+ * Gets the argument, if any, to which the output is written. If `isStream` is
259
+ * `true`, the output argument is a stream (that is, this call behaves like
260
+ * `fprintf`). If `isStream` is `false`, the output argument is a buffer (that
261
+ * is, this call behaves like `sprintf`)
262
*/
263
Expr getOutputArgument(boolean isStream) {
264
result = this.(Call).getArgument(this.(Call).getTarget().(FormattingFunction).getOutputParameterIndex(isStream))
0 commit comments