mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds more suppressions to the cppcheck
This commit is contained in:
10
Makefile.am
10
Makefile.am
@@ -42,7 +42,15 @@ MAINTAINERCLEANFILES = \
|
|||||||
ylwrap
|
ylwrap
|
||||||
|
|
||||||
cppcheck:
|
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_CHECK_RULES@
|
||||||
VALGRIND_SUPPRESSIONS_FILES = valgrind_suppressions.txt
|
VALGRIND_SUPPRESSIONS_FILES = valgrind_suppressions.txt
|
||||||
|
@@ -34,4 +34,5 @@ readdirCalled:test/common/modsecurity_test.cc:114
|
|||||||
missingInclude:*
|
missingInclude:*
|
||||||
unreadVariable:test/regression/regression.cc:380
|
unreadVariable:test/regression/regression.cc:380
|
||||||
shiftNegative:src/utils/msc_tree.cc
|
shiftNegative:src/utils/msc_tree.cc
|
||||||
nullPointerRedundantCheck::src/utils/msc_tree.cc
|
nullPointerRedundantCheck:src/utils/msc_tree.cc:654
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user