diff options
author | Tomas Krizek <tomas.krizek@nic.cz> | 2021-08-30 14:50:26 +0200 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2021-08-30 15:30:37 +0200 |
commit | fda73775aefc3bcbf35c74bf57225e4cbff2f447 (patch) | |
tree | 5fc13e20cd6a9dd863d33e30744be673366ab02c /scripts | |
parent | tests/pytests: configure pylint to ignore consider-using-with (diff) | |
download | knot-resolver-fda73775aefc3bcbf35c74bf57225e4cbff2f447.tar.xz knot-resolver-fda73775aefc3bcbf35c74bf57225e4cbff2f447.zip |
scripts: fix scanbuild on debian 11
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-scanbuild-with-args.sh | 3 |
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 \ |