We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c483a4b + 0ba3cd9 commit 13a7d9aCopy full SHA for 13a7d9a
cpp/ql/src/Likely Bugs/Format/NonConstantFormat.qhelp
@@ -42,7 +42,7 @@ in the previous example, one solution is to make the log message a trailing argu
42
<p>An alternative solution is to allow <code>log_with_timestamp</code> to accept format arguments:</p>
43
<sample src="NonConstantFormat-2-good.c" />
44
<p>In this formulation, the non-constant format string to <code>printf</code> has been replaced with
45
-a non-constant format string to <code>vprintf</code>. Semmle will no longer consider the body of
+a non-constant format string to <code>vprintf</code>. The analysis will no longer consider the body of
46
<code>log_with_timestamp</code> to be a problem, and will instead check that every call to
47
<code>log_with_timestamp</code> passes a constant format string.</p>
48
0 commit comments