diff options
author | Fabian Meumertzheim <meumertzheim@code-intelligence.com> | 2021-05-12 16:03:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 07:03:21 -0700 |
commit | 10e888b5617ee53f03f58b76aa408b9adec9286e (patch) | |
tree | 2cbac5f118ac61db8f3c93852a928d2af6105ecb /docs/getting-started | |
parent | c447cfedf46682dbabc05668e446419d47e22964 (diff) |
[all] Make fuzz targets world executable (#5751)
Making fuzz targets only user executable as the root user makes them
non-executable outside the container, e.g. in the oss-fuzz/build/ dir.
Diffstat (limited to 'docs/getting-started')
-rw-r--r-- | docs/getting-started/new-project-guide/jvm_lang.md | 2 | ||||
-rw-r--r-- | docs/getting-started/new-project-guide/python_lang.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/getting-started/new-project-guide/jvm_lang.md b/docs/getting-started/new-project-guide/jvm_lang.md index 19e4ecbf..9cc3ef3e 100644 --- a/docs/getting-started/new-project-guide/jvm_lang.md +++ b/docs/getting-started/new-project-guide/jvm_lang.md @@ -137,7 +137,7 @@ LD_LIBRARY_PATH=\"$JVM_LD_LIBRARY_PATH\":\$this_dir \ --target_class=$fuzzer_basename \ --jvm_args=\"-Xmx2048m\" \ \$@" > $OUT/$fuzzer_basename - chmod u+x $OUT/$fuzzer_basename + chmod +x $OUT/$fuzzer_basename done ``` diff --git a/docs/getting-started/new-project-guide/python_lang.md b/docs/getting-started/new-project-guide/python_lang.md index da147803..dfea5251 100644 --- a/docs/getting-started/new-project-guide/python_lang.md +++ b/docs/getting-started/new-project-guide/python_lang.md @@ -97,7 +97,7 @@ this_dir=\$(dirname \"\$0\") LD_PRELOAD=\$this_dir/sanitizer_with_fuzzer.so \ 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 + chmod +x $OUT/$fuzzer_basename done ``` |