![sommerfeld](/assets/img/avatar_default.png)
If -Wformat is enabled, try harder to chase down compile-time constant format strings.. capable of catching things like: const char foo[]="%s %d"; printf(foo, 1, "2"); If the new option -Wnetbsd-format-audit (no, I don't like the name, either) is enabled, complain about non-constant format strings we can't verify. In particular, for *v*printf-like functions (i.e., non-variadic functions which are passed a va_list), insist that the format string come from a parameter declared as a format string argument, so that functions which should be declared as printflike are caught at compile time.
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%