summaryrefslogtreecommitdiffstats
path: root/clang-plugin
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-16 09:06:22 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-16 09:06:22 +0000
commit8084064f98bc6abdb706409780f0672e8b2e30d1 (patch)
tree7d684389e7eb024982da9b6cb415ff79c811e3f6 /clang-plugin
parent500203dbb870d239773485d6a80d3c41a21ee88e (diff)
downloadrspamd-8084064f98bc6abdb706409780f0672e8b2e30d1.tar.gz
rspamd-8084064f98bc6abdb706409780f0672e8b2e30d1.zip
Add more functions for static analysis.
Diffstat (limited to 'clang-plugin')
-rw-r--r--clang-plugin/printf_check.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang-plugin/printf_check.cc b/clang-plugin/printf_check.cc
index 1b8d015f6..6fd49c439 100644
--- a/clang-plugin/printf_check.cc
+++ b/clang-plugin/printf_check.cc
@@ -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 = {