Update fuzzer_environment.md

This commit is contained in:
Abhishek Arya 2017-01-14 12:20:48 -08:00 committed by GitHub
parent 38e4301909
commit 086116d40e
1 changed files with 6 additions and 2 deletions

View File

@ -9,9 +9,13 @@ and libraries in the execution environment. Make sure to statically link any
library dependencies with your fuzz target executable during build time
([example](https://github.com/google/oss-fuzz/blob/master/projects/tor/build.sh#L40)).
All build artifacts needed during fuzz target execution should be inside `$OUT`
directory, and other directories like `$WORK`, `$SRC`, etc will not be accessible.
directory. Other directories like `$WORK`, `$SRC` OR dependent packages installed
in build.sh will not be available.
You can ensure that the fuzz target works correctly by using `run_fuzzer` command
(see instructions [here](docs/new_project_guide.md#testing-locally)).
(see instructions [here](new_project_guide.md#testing-locally)). This command uses
a clean base-runner docker container and not the base-builder docker container
created during build-time.
## Current working directory