oss-fuzz/docs/fuzzer_environment.md

19 lines
652 B
Markdown
Raw Normal View History

# Fuzzer environment on ClusterFuzz
2016-11-26 23:59:29 +00:00
Your fuzzers will be run on a [Google Compute Engine](https://cloud.google.com/compute/) VM (Linux) with some security restrictions.
## Current working directory
2016-11-26 23:59:29 +00:00
You should not make any assumptions about the current working directory of your
fuzzer. If you need to load data files, please use `argv[0]` to get the
2016-11-26 23:59:29 +00:00
directory where your fuzzer executable is located.
## Filesystem
Everything except `/tmp` is read-only, including the directory that your fuzzer
executable lives in. Note that `/tmp` is limited in size (64MB).
## Network access
There will be no network interfaces available (not even loopback).