File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 81
81
make libc6install
82
82
CFLAGS="-Werror -m32" make -j all32
83
83
make clean
84
- make -j uasan-test-zstd32
84
+ make -j uasan-test-zstd32 V=1
85
85
86
86
clang-msan-testzstd :
87
87
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -286,12 +286,11 @@ uasanregressiontest:
286
286
msanregressiontest :
287
287
$(MAKE ) -C $(FUZZDIR ) regressiontest CC=clang CXX=clang++ CFLAGS=" -O3 -fsanitize=memory" CXXFLAGS=" -O3 -fsanitize=memory"
288
288
289
- # run UBsan with -fsanitize-recover=signed-integer-overflow
290
- # due to a bug in UBsan when doing pointer subtraction
291
- # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63303
289
+ # run UBsan with -fsanitize-recover=pointer-overflow
290
+ # this only works with recent compilers such as gcc 8+
292
291
293
292
usan : clean
294
- $(MAKE ) test CC=clang MOREFLAGS=" -g -fno-sanitize-recover=all -fsanitize-recover=signed-integer -overflow -fsanitize=undefined -Werror"
293
+ $(MAKE ) test CC=clang MOREFLAGS=" -g -fno-sanitize-recover=all -fsanitize-recover=pointer -overflow -fsanitize=undefined -Werror"
295
294
296
295
asan : clean
297
296
$(MAKE ) test CC=clang MOREFLAGS=" -g -fsanitize=address -Werror"
@@ -309,10 +308,10 @@ asan32: clean
309
308
$(MAKE ) -C $(TESTDIR ) test32 CC=clang MOREFLAGS=" -g -fsanitize=address"
310
309
311
310
uasan : clean
312
- $(MAKE ) test CC=clang MOREFLAGS=" -g -fno-sanitize-recover=all -fsanitize-recover=signed-integer -overflow -fsanitize=address,undefined -Werror"
311
+ $(MAKE ) test CC=clang MOREFLAGS=" -g -fno-sanitize-recover=all -fsanitize-recover=pointer -overflow -fsanitize=address,undefined -Werror"
313
312
314
313
uasan-% : clean
315
- LDFLAGS=-fuse-ld=gold MOREFLAGS=" -g -fno-sanitize-recover=all -fsanitize-recover=signed-integer -overflow -fsanitize=address,undefined -Werror" $(MAKE ) -C $(TESTDIR ) $*
314
+ LDFLAGS=-fuse-ld=gold MOREFLAGS=" -g -fno-sanitize-recover=all -fsanitize-recover=pointer -overflow -fsanitize=address,undefined -Werror" $(MAKE ) -C $(TESTDIR ) $*
316
315
317
316
tsan-% : clean
318
317
LDFLAGS=-fuse-ld=gold MOREFLAGS=" -g -fno-sanitize-recover=all -fsanitize=thread -Werror" $(MAKE ) -C $(TESTDIR ) $* FUZZER_FLAGS=--no-big-tests
You can’t perform that action at this time.
0 commit comments