Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 569 Bytes

debugging.md

File metadata and controls

18 lines (13 loc) · 569 Bytes

Debugging Build Scripts

While developing your build script, it may be useful to run bash within the container:

$ python infra/helper.py shell $PROJECT_NAME  # runs /bin/bash within container
$ compile                                     # run compilation manually

Debugging Fuzzers with GDB

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:

docker run -ti --privileged -v /tmp/out:/out ossfuzz/libfuzzer-runner gdb /out/fuzzer_name