[infra] Use only 'array-bounds' check of UBSan's 'bounds' check (#573).

For more info: https://github.com/google/oss-fuzz/pull/573#issuecomment-300494440
This commit is contained in:
Max Moroz 2017-05-10 16:13:06 +02:00
parent d3df955ba7
commit 04e42ac17a
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ RUN apt-get install -y git subversion jq python3 zip make
# Default build flags for various sanitizers.
ENV SANITIZER_FLAGS_address "-fsanitize=address -fsanitize-address-use-after-scope"
ENV SANITIZER_FLAGS_undefined "-fsanitize=bool,bounds,float-divide-by-zero,function,integer-divide-by-zero,null,shift,signed-integer-overflow,vla-bound,vptr -fno-sanitize-recover=undefined"
ENV SANITIZER_FLAGS_undefined "-fsanitize=bool,array-bounds,float-divide-by-zero,function,integer-divide-by-zero,null,shift,signed-integer-overflow,vla-bound,vptr -fno-sanitize-recover=undefined"
ENV SANITIZER_FLAGS_memory "-fsanitize=memory -fsanitize-memory-track-origins"
# Default build flags for coverage.