From 0babbc218181d55a337590f4b5d4ec1259c8c323 Mon Sep 17 00:00:00 2001 From: Andrew Haberlandt Date: Sun, 17 Nov 2024 01:05:29 +0000 Subject: [PATCH] fix: disable ASAN leak sanitizer by default since it breaks under Dynamorio for some reason --- bin/pyda | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pyda b/bin/pyda index 698c52e..3b3ba77 100755 --- a/bin/pyda +++ b/bin/pyda @@ -1,4 +1,4 @@ #!/bin/bash ROOT=$(dirname "$0")/../ -LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PYTHONHOME/lib/ PYDA_SCRIPT=$1 exec $DYNAMORIO_HOME/bin64/drrun -stack_size 1024K -c $ROOT/build/pyda_core/libtool.so ${@:2} +ASAN_OPTIONS=detect_leaks=0 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PYTHONHOME/lib/ PYDA_SCRIPT=$1 exec $DYNAMORIO_HOME/bin64/drrun -stack_size 1024K -c $ROOT/build/pyda_core/libtool.so ${@:2}