From 0ba3cd96f50a539905f4782ca544c1e8f10d8d6c Mon Sep 17 00:00:00 2001 From: Geoffrey White <40627776+geoffw0@users.noreply.github.com> Date: Mon, 20 May 2024 10:02:50 +0100 Subject: [PATCH] C++: Update an instance of the name 'Semmle' in a doc page. --- cpp/ql/src/Likely Bugs/Format/NonConstantFormat.qhelp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/ql/src/Likely Bugs/Format/NonConstantFormat.qhelp b/cpp/ql/src/Likely Bugs/Format/NonConstantFormat.qhelp index 1df186def0a4..6994e49943fc 100644 --- a/cpp/ql/src/Likely Bugs/Format/NonConstantFormat.qhelp +++ b/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
An alternative solution is to allow log_with_timestamp
to accept format arguments:
In this formulation, the non-constant format string to printf
has been replaced with
-a non-constant format string to vprintf
. Semmle will no longer consider the body of
+a non-constant format string to vprintf
. The analysis will no longer consider the body of
log_with_timestamp
to be a problem, and will instead check that every call to
log_with_timestamp
passes a constant format string.