oss-fuzz/docs/fuzzer_environment.md

21 lines
682 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
directory where your fuzzer executable is located.
2016-11-29 19:47:37 +00:00
## File system
Everything except `/tmp` is read-only, including the directory that your fuzzer
executable lives in. Note that `/tmp` is limited in size (64MB).
2016-12-09 16:49:42 +00:00
`/dev` is also unavailable.
## Network access
There will be no network interfaces available (not even loopback).