mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Adds more suppressions to the cppcheck
This commit is contained in:
parent
4078677b7f
commit
f26824bcf4
10
Makefile.am
10
Makefile.am
@ -42,7 +42,15 @@ MAINTAINERCLEANFILES = \
|
||||
ylwrap
|
||||
|
||||
cppcheck:
|
||||
cppcheck --suppressions-list=./test/cppcheck_suppressions.txt --enable=all --inconclusive --template="{file},{line},{severity},{id},{message}" -U YYSTYPE -U YY_USER_INIT --std=posix .
|
||||
cppcheck \
|
||||
--suppressions-list=./test/cppcheck_suppressions.txt \
|
||||
--enable=all \
|
||||
--inconclusive \
|
||||
--template="{file},{line},{severity},{id},{message}" \
|
||||
-U YYSTYPE \
|
||||
-U YY_USER_INIT \
|
||||
--std=posix . 2> cppcheck.txt
|
||||
cat cppcheck.txt
|
||||
|
||||
@VALGRIND_CHECK_RULES@
|
||||
VALGRIND_SUPPRESSIONS_FILES = valgrind_suppressions.txt
|
||||
|
@ -34,4 +34,5 @@ readdirCalled:test/common/modsecurity_test.cc:114
|
||||
missingInclude:*
|
||||
unreadVariable:test/regression/regression.cc:380
|
||||
shiftNegative:src/utils/msc_tree.cc
|
||||
nullPointerRedundantCheck::src/utils/msc_tree.cc
|
||||
nullPointerRedundantCheck:src/utils/msc_tree.cc:654
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user