[infra] added memory sanitizer config

This commit is contained in:
Mike Aizatsky 2016-12-13 12:47:20 -08:00
parent f9b3680dee
commit 11b0c45f91
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ RUN apt-get install -y git subversion jq python3 zip
# Default build flags for various sanitizers.
ENV SANITIZER_FLAGS_address "-fsanitize=address"
ENV SANITIZER_FLAGS_undefined "-fsanitize=bool,signed-integer-overflow,shift,vptr -fno-sanitize-recover=undefined"
ENV SANITIZER_FLAGS_memory "-fsanitize=memory"
# Default build flags for coverage.
ENV COVERAGE_FLAGS="-fsanitize-coverage=edge,indirect-calls,8bit-counters"