summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2021-08-30 14:50:26 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2021-08-30 15:30:37 +0200
commitfda73775aefc3bcbf35c74bf57225e4cbff2f447 (patch)
tree5fc13e20cd6a9dd863d33e30744be673366ab02c /scripts
parenttests/pytests: configure pylint to ignore consider-using-with (diff)
downloadknot-resolver-fda73775aefc3bcbf35c74bf57225e4cbff2f447.tar.xz
knot-resolver-fda73775aefc3bcbf35c74bf57225e4cbff2f447.zip
scripts: fix scanbuild on debian 11
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/run-scanbuild-with-args.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/run-scanbuild-with-args.sh b/scripts/run-scanbuild-with-args.sh
index 30bfd476..b44c8be2 100755
--- a/scripts/run-scanbuild-with-args.sh
+++ b/scripts/run-scanbuild-with-args.sh
@@ -16,9 +16,9 @@ set -o errexit -o nounset
# alpha.security.MallocOverflow # not smart enough to infer max values from data types
exec scan-build --status-bugs -no-failure-reports \
+-analyzer-config aggressive-binary-operation-simplification=true \
-disable-checker unix.Malloc \
-enable-checker alpha.core.BoolAssignment \
--enable-checker alpha.core.CallAndMessageUnInitRefArg \
-enable-checker alpha.core.CastSize \
-enable-checker alpha.core.Conversion \
-enable-checker alpha.core.DynamicTypeChecker \
@@ -29,7 +29,6 @@ exec scan-build --status-bugs -no-failure-reports \
-enable-checker alpha.core.SizeofPtr \
-enable-checker alpha.core.TestAfterDivZero \
-enable-checker alpha.cplusplus.IteratorRange \
--enable-checker alpha.cplusplus.MisusedMovedObject \
-enable-checker alpha.security.ArrayBound \
-enable-checker alpha.security.ArrayBoundV2 \
-enable-checker alpha.security.ReturnPtrRange \