From 5c94754c6396b810ba6f12152c49cac5e2dabbba Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 21 May 2024 19:03:16 +0200 Subject: [PATCH] Add detect_stack_use_after_return=1 to the ASAN_OPTIONs party --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bb7ce3b9b..5e8c93dd6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -276,7 +276,7 @@ jobs: run: sudo apt-get --assume-yes install python3-wheel python3-setuptools cabextract gperf - name: Running tests run: | - export ASAN_OPTIONS=detect_leaks=0 + export ASAN_OPTIONS="detect_leaks=0 detect_stack_use_after_return=1" export R2R_TIMEOUT=3600 export R2R_SKIP_ARCHOS=1 export LD_LIBRARY_PATH=/usr/local/lib @@ -284,7 +284,7 @@ jobs: r2r -t 3600 test/db/cmd - name: Run fuzz tests run: | - export ASAN_OPTIONS=detect_leaks=0 + export ASAN_OPTIONS="detect_leaks=0 detect_stack_use_after_return=1" export R2R_SKIP_ARCHOS=1 export R2R_TIMEOUT=3600 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.5 @@ -305,7 +305,7 @@ jobs: run: sudo apt-get --assume-yes install python3-wheel python3-setuptools cabextract gperf - name: Running tests run: | - export ASAN_OPTIONS=detect_leaks=0 + export ASAN_OPTIONS="detect_leaks=0 detect_stack_use_after_return=1" export R2R_SKIP_ARCHOS=1 export R2R_TIMEOUT=3600 export LD_LIBRARY_PATH=/usr/local/lib @@ -313,7 +313,7 @@ jobs: make tests - name: Run fuzz tests run: | - export ASAN_OPTIONS=detect_leaks=0 + export ASAN_OPTIONS="detect_leaks=0 detect_stack_use_after_return=1" export R2R_TIMEOUT=3600 export R2R_SKIP_ARCHOS=1 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libasan.so.5