asan_device_setup's wrapper scripts not handling args with spaces correctly

Summary: Came up in Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1103108#c21

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D84237
This commit is contained in:
Andrew Grieve 2020-07-22 12:53:57 -07:00 committed by Evgenii Stepanov
parent b198de67e0
commit a305d25029
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ function generate_zygote_wrapper { # from, to
ASAN_OPTIONS=$ASAN_OPTIONS \\ ASAN_OPTIONS=$ASAN_OPTIONS \\
ASAN_ACTIVATION_OPTIONS=include_if_exists=/data/local/tmp/asan.options.%b \\ ASAN_ACTIVATION_OPTIONS=include_if_exists=/data/local/tmp/asan.options.%b \\
LD_PRELOAD=$_ld_preload \\ LD_PRELOAD=$_ld_preload \\
exec $_to \$@ exec $_to "\$@"
EOF EOF
} }