Skip to content

Commit 0983213

Browse files
author
Dane Springmeyer
committed
also run -fsanitize=integer
1 parent 9aa9ac0 commit 0983213

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function run() {
9090
echo "export UBSAN_OPTIONS=print_stacktrace=1" >> ${config}
9191
echo "export LSAN_OPTIONS=suppressions=${SUPPRESSION_FILE}" >> ${config}
9292
echo "export ASAN_OPTIONS=symbolize=1:abort_on_error=1:detect_container_overflow=1:check_initialization_order=1:detect_stack_use_after_return=1" >> ${config}
93-
echo 'export MASON_SANITIZE="-fsanitize=address,undefined -fno-sanitize=vptr,function"' >> ${config}
93+
echo 'export MASON_SANITIZE="-fsanitize=address,undefined,integer -fno-sanitize=vptr,function"' >> ${config}
9494
echo 'export MASON_SANITIZE_CXXFLAGS="${MASON_SANITIZE} -fno-sanitize=vptr,function -fsanitize-address-use-after-scope -fno-omit-frame-pointer -fno-common"' >> ${config}
9595
echo 'export MASON_SANITIZE_LDFLAGS="${MASON_SANITIZE}"' >> ${config}
9696

0 commit comments

Comments
 (0)