mirror of https://github.com/google/oss-fuzz.git
Update debugging.md
This commit is contained in:
parent
053a68f7e6
commit
7c2f9e6b14
|
@ -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
|
$ 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
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue