From 9cf647f1f4311bfcd701835d8d274c76528c3da2 Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Fri, 18 May 2018 14:38:37 -0700 Subject: [PATCH] [docs] Add instructions on "pull_images" and "check_build" as per suggestion in #1330. (#1404) * [docs] Add instructions on "pull_images" and "check_build" as per suggestion in #1330. * Address review feedback * fix a typo --- docs/reproducing.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/docs/reproducing.md b/docs/reproducing.md index 109b22ca5..1f74af923 100644 --- a/docs/reproducing.md +++ b/docs/reproducing.md @@ -29,8 +29,19 @@ If you are not sure how to build the fuzzer using the project's build system, you may also use Docker ([how?](installing_docker.md), [why?](faq.md#why-do-you-use-docker)) commands to replicate the exact build steps used by OSS-Fuzz and then feed the reproducer input to the fuzz target. -## Build failures -We will also report build failures for your project. To reproduce these, follow the [Building using docker](#building-using-docker) and if necessary the [Reproducing build checks](reproducing-build-checks) sections below. +### Pull the latest Docker images + +```bash +$ python infra/helper.py pull_images +``` + + Docker images get regularly updated with a newer version of build tools, build + configurations, scripts, and other changes. In some cases, a particular issue + can be reproduced only with a fresh image being used. + +### Reproduce crashes with Docker + +- *Reproduce using latest OSS-Fuzz build:* ## Building using Docker ```bash @@ -67,7 +78,17 @@ $ python infra/helper.py reproduce $PROJECT_NAME $PROJECT_NAME +$ python infra/helper.py check_build $PROJECT_NAME +```