mirror of https://github.com/google/oss-fuzz.git
doc: explicitly mention dynamic and static linking of fuzzers (#6428)
* doc: explicitly mention static and dynamic linking of fuzzers. * doc: add comma.
This commit is contained in:
parent
fd34d343c3
commit
d59c8adb4f
|
@ -325,6 +325,14 @@ pass them manually to the build tool.
|
||||||
See the [Provided Environment Variables](https://github.com/google/oss-fuzz/blob/master/infra/base-images/base-builder/README.md#provided-environment-variables) section in
|
See the [Provided Environment Variables](https://github.com/google/oss-fuzz/blob/master/infra/base-images/base-builder/README.md#provided-environment-variables) section in
|
||||||
`base-builder` image documentation for more details.
|
`base-builder` image documentation for more details.
|
||||||
|
|
||||||
|
### Static and dynamic linking of libraries
|
||||||
|
The `build.sh` should produce fuzzers that are statically linked. This is because the
|
||||||
|
fuzzer build environment is different to the fuzzer runtime environment and if your
|
||||||
|
project depends on third party libraries then it is likely they will not be present
|
||||||
|
in the execution environment. Thus, any shared libraries you may install or compile in
|
||||||
|
`build.sh` or `Dockerfile` will not be present in the fuzzer runtime environment. There
|
||||||
|
are exceptions to this rule, and for further information on this please see the [fuzzer environment]({{ site.baseurl }}/further-reading/fuzzer-environment/) page.
|
||||||
|
|
||||||
## Disk space restrictions
|
## Disk space restrictions
|
||||||
|
|
||||||
Our builders have a disk size of 250GB (this includes space taken up by the OS). Builds must keep peak disk usage below this.
|
Our builders have a disk size of 250GB (this includes space taken up by the OS). Builds must keep peak disk usage below this.
|
||||||
|
|
Loading…
Reference in New Issue