diff options
author | Google AutoFuzz Team <security-tps@google.com> | 2020-12-30 19:07:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-30 10:07:43 -0800 |
commit | e3806aada01ce0263e65200a209c99cc821bf23c (patch) | |
tree | 71044913b49896c4584d06ab1d467e6babc6e57a /projects | |
parent | 234a82a6d26561dc90681a9e76c1fab1ba06b1e3 (diff) | |
download | oss-fuzz-e3806aada01ce0263e65200a209c99cc821bf23c.tar.gz |
Use the new wrapper for pygments (#4898)
Diffstat (limited to 'projects')
-rw-r--r-- | projects/pygments/build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/projects/pygments/build.sh b/projects/pygments/build.sh index 550480581..01924b50d 100644 --- a/projects/pygments/build.sh +++ b/projects/pygments/build.sh @@ -27,8 +27,9 @@ for fuzzer in $(find $SRC -name '*_fuzzer.py'); do # Create execution wrapper. echo "#!/bin/sh # LLVMFuzzerTestOneInput for fuzzer detection. -ASAN_OPTIONS=\$ASAN_OPTIONS:symbolize=1:detect_leaks=0 \ -\$(dirname "\$0")/$fuzzer_package \$@" > $OUT/$fuzzer_basename +this_dir=\$(dirname \"\$0\") +ASAN_OPTIONS=\$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=\$this_dir/llvm-symbolizer:detect_leaks=0 \ +\$this_dir/$fuzzer_package \$@" > $OUT/$fuzzer_basename chmod u+x $OUT/$fuzzer_basename done |