Rename base-debug-runner->base-runner-debug, add hooks. (#181)

This commit is contained in:
inferno-chromium 2016-12-13 15:07:53 -08:00 committed by GitHub
parent f7ca2c4d18
commit 01373acf7d
4 changed files with 4 additions and 3 deletions

View File

@ -10,9 +10,9 @@ $ compile # run compilation manually
## Debugging Fuzzers with GDB
If you decide to debug a fuzzer with gdb (which is already installed in base-debug-runner image),
If you decide to debug a fuzzer with gdb (which is already installed in base-runner-debug image),
you will need to start a container in privileged mode:
```bash
docker run -ti --privileged -v /tmp/out:/out ossfuzz/base-debug-runner gdb /out/fuzzer_name
docker run -ti --privileged -v /tmp/out:/out ossfuzz/base-runner-debug gdb /out/fuzzer_name
```

View File

@ -19,3 +19,4 @@ docker build --pull -t ossfuzz/base $@ infra/base-images/base
docker build -t ossfuzz/base-clang $@ infra/base-images/base-clang
docker build -t ossfuzz/base-libfuzzer $@ infra/base-images/base-libfuzzer
docker build -t ossfuzz/base-runner $@ infra/base-images/base-runner
docker build -t ossfuzz/base-runner-debug $@ infra/base-images/libfuzzer-runner-debug

View File

@ -17,7 +17,7 @@
// Jenkins build script to push docker images to docker repository.
def images = ['ossfuzz/base', 'ossfuzz/base-clang', 'ossfuzz/base-libfuzzer',
'ossfuzz/base-runner']
'ossfuzz/base-runner', 'ossfuzz/libfuzzer-runner-debug']
node() {
docker.withRegistry('', 'docker-login') {