Update debugging.md

This commit is contained in:
Mike Aizatsky 2016-10-04 11:57:14 -07:00 committed by GitHub
parent 053a68f7e6
commit 7c2f9e6b14
1 changed files with 8 additions and 0 deletions

View File

@ -8,3 +8,11 @@ $ python scripts/helper.py shell $LIB_NAME # runs /bin/bash within container
$ bash /src/oss-fuzz/$LIB_NAME/build.sh # to run the build script manually
```
## Debugging Fuzzers
If you decide to debug a fuzzer with gdb (which is already installed in libfuzzer-runner image),
you will need to start a container in privileged mode:
```bash
docker run -ti --privileged -v /tmp/out:/out -t ossfuzz/libfuzzer-runner /out/some_fuzzer_name
```