From: <sv...@op...> - 2024-04-25 19:38:00
|
Author: sagamusix Date: Thu Apr 25 21:37:47 2024 New Revision: 20651 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20651 Log: [Var] Fuzzing: AFL_HARDEN and ASan are not compatible in v4.10c. Modified: trunk/OpenMPT/build/make/config-afl.mk trunk/OpenMPT/contrib/fuzzing/build.sh Modified: trunk/OpenMPT/build/make/config-afl.mk ============================================================================== --- trunk/OpenMPT/build/make/config-afl.mk Mon Apr 22 23:01:04 2024 (r20650) +++ trunk/OpenMPT/build/make/config-afl.mk Thu Apr 25 21:37:47 2024 (r20651) @@ -16,7 +16,7 @@ CXXFLAGS_STDCXX = -std=$(STDCXX) -fexceptions -frtti -pthread # We do not enable C++20 for fuzzer builds, because it prevents detecting # shifting of signed values which changed from undefined to defined behaviour -# in C++20. As we still support C+ü+17, we need to catch these problem cases. +# in C++20. As we still support C++17, we need to catch these problem cases. #else ifeq ($(shell printf '\n' > bin/empty.cpp ; if $(CXX) -std=c++20 -c bin/empty.cpp -o bin/empty.out > /dev/null 2>&1 ; then echo 'c++20' ; fi ), c++20) #CXXFLAGS_STDCXX = -std=c++20 -fexceptions -frtti -pthread else Modified: trunk/OpenMPT/contrib/fuzzing/build.sh ============================================================================== --- trunk/OpenMPT/contrib/fuzzing/build.sh Mon Apr 22 23:01:04 2024 (r20650) +++ trunk/OpenMPT/contrib/fuzzing/build.sh Thu Apr 25 21:37:47 2024 (r20651) @@ -1,4 +1,4 @@ #!/usr/bin/env bash cd "${0%/*}" cd ../.. -AFL_HARDEN=1 CONFIG=afl make clean all EXAMPLES=0 TEST=0 OPENMPT123=0 NO_VORBIS=1 NO_VORBISFILE=1 NO_MPG123=1 CHECKED_ADDRESS=1 +AFL_USE_ASAN=1 CONFIG=afl make clean all EXAMPLES=0 TEST=0 OPENMPT123=0 NO_VORBIS=1 NO_VORBISFILE=1 NO_MPG123=1 CHECKED_ADDRESS=1 |