1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:47:46 +00:00

Meta: Add some more documentation on oss-fuzz

This commit is contained in:
Nico Weber 2021-01-20 14:58:01 -05:00 committed by Andreas Kling
parent 2f82854e4a
commit 7e5c49b755

View file

@ -78,6 +78,18 @@ These commands will put the fuzzers in `build/out/serenity` in the oss-fuzz repo
python3 infra/helper.py run_fuzzer serenity FUZZER_NAME python3 infra/helper.py run_fuzzer serenity FUZZER_NAME
``` ```
To build the fuzzers using the oss-fuzz build process, but against a local serenity checkout:
```
python3 infra/helper.py build_fuzzers serenity $HOME/src/serenity/
```
To run a shell in oss-fuzz's serenity docker image:
```
docker run -it gcr.io/oss-fuzz/serenity bash
```
### Analyzing a crash ### Analyzing a crash
LLVM fuzzers have a weird interface. In particular, to see the help, you need to call it with `-help=1`, and it will ignore `--help` and `-help`. LLVM fuzzers have a weird interface. In particular, to see the help, you need to call it with `-help=1`, and it will ignore `--help` and `-help`.