mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 13:26:01 +03:00
Updated cppcheck config
- Do not scan third-party libraries (others dir) - Use standard C++17 for checks (defaults to C++20)
This commit is contained in:
parent
e0c58233ad
commit
193a0002e4
@ -63,9 +63,11 @@ cppcheck:
|
||||
--enable=warning,style,performance,portability,unusedFunction,missingInclude \
|
||||
--inconclusive \
|
||||
--template="warning: {file},{line},{severity},{id},{message}" \
|
||||
-I headers -I . -I others -I src -I others/mbedtls/include -I src/parser \
|
||||
-I headers -I . -I others -I src -I others/mbedtls/include \
|
||||
--error-exitcode=1 \
|
||||
-i "src/parser/seclang-parser.cc" -i "src/parser/seclang-scanner.cc" \
|
||||
-i others \
|
||||
--std=c++17 \
|
||||
--force --verbose .
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user