mirror of https://github.com/google/oss-fuzz.git
[docs] Add more explicit documentation regarding build dependencies. (#360)
This commit is contained in:
parent
137a8ca4c3
commit
b3d93fa783
|
@ -8,6 +8,15 @@ You should not make any assumptions on the availability of dependent packages
|
|||
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)).
|
||||
|
||||
Please note that it is not required to build all dependecies in
|
||||
[build.sh](https://github.com/google/oss-fuzz/blob/master/docs/new_project_guide.md#buildsh).
|
||||
You can install any build dependendcies via
|
||||
[Dockerfile](https://github.com/google/oss-fuzz/blob/master/docs/new_project_guide.md#dockerfile)
|
||||
([example](https://github.com/google/oss-fuzz/blob/master/projects/tor/Dockerfile#L19)),
|
||||
but make sure that you link statically against them. Those dependecies will be
|
||||
available only on a builder machine, not on the ones running the fuzzers.
|
||||
|
||||
All build artifacts needed during fuzz target execution should be inside `$OUT`
|
||||
directory. Other directories like `$WORK`, `$SRC` OR dependent packages installed
|
||||
in build.sh will not be available.
|
||||
|
|
Loading…
Reference in New Issue