[PATCH] D31695: Windows asan_device_setup.bat port of linux shell script

Steven Winston via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 15:29:52 PDT 2017


gpx1000 added a comment.

Wait... egg on my face time.   I sent you the script from my work machine.  At home where I tested it the script looked like this (just looked at it):

#!/system/bin/sh-from-zygote\n
su -c setenforcing 0
ASAN_OPTIONS=start_deactivated=1,malloc_context_size=0 \
ASAN_ACTIVATION_OPTIONS=include_if_exists=/data/local/tmp/asan.options.b \
LD_PRELOAD=libclang_rt.asan-${abi}-android.so \
$@
su -c setenforcing 1

All is right with the world of linux shell scripting, my bug.


https://reviews.llvm.org/D31695





More information about the llvm-commits mailing list