]> source.dussan.org Git - rspamd.git/commitdiff
Add more functions for static analysis.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 16 Nov 2015 09:06:22 +0000 (09:06 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 16 Nov 2015 09:06:22 +0000 (09:06 +0000)
clang-plugin/printf_check.cc

index 1b8d015f6c731008c6a4c08520181bd2b7899b07..6fd49c439b16f3e80fc3bfe105bb02e73a33da49 100644 (file)
@@ -365,7 +365,9 @@ namespace rspamd {
                                        {"rspamd_printf",               0},
                                        {"rspamd_default_log_function", 4},
                                        {"rspamd_snprintf",             2},
-                                       {"rspamd_fprintf",              1}
+                                       {"rspamd_fprintf",              1},
+                                       {"rspamd_printf_gstring",       1},
+                                       {"rspamd_printf_fstring",       1}
                        };
 
                        format_specs = {