diff --git a/projects/xs/build.sh b/projects/xs/build.sh index 60bc4804d..aba536167 100755 --- a/projects/xs/build.sh +++ b/projects/xs/build.sh @@ -18,7 +18,6 @@ mv $SRC/{*.zip,*.dict} $OUT export MODDABLE=$PWD -export ASAN_OPTIONS="detect_leaks=0" FUZZ_TARGETS=( xst @@ -26,22 +25,6 @@ FUZZ_TARGETS=( ) REALBIN_PATH=$OUT -if [ "$SANITIZER" = "coverage" ] -then - echo "this is a coverage build" -else - # Stash actual binaries in subdirectory so they aren't picked up by target discovery - mkdir -p $OUT/real - REALBIN_PATH=$OUT/real - - # Build a wrapper binary for each target to set environment variables. - for FUZZ_TARGET in ${FUZZ_TARGETS[@]} - do - $CC $CFLAGS -O0 \ - -DFUZZ_TARGET=$FUZZ_TARGET \ - $SRC/target.c -o $OUT/$FUZZ_TARGET - done -fi # build main target cd "$MODDABLE/xs/makefiles/lin" diff --git a/projects/xs/xst.options b/projects/xs/xst.options index 65cc15416..3558b3e7b 100644 --- a/projects/xs/xst.options +++ b/projects/xs/xst.options @@ -2,3 +2,4 @@ detect_leaks=0 [asan] detect_stack_use_after_return=0 +detect_leaks=0