Update README.md

This commit is contained in:
Mike Aizatsky 2016-09-27 12:15:18 -07:00 committed by GitHub
parent 4a3c28fa14
commit fad78fca51
1 changed files with 3 additions and 1 deletions

View File

@ -3,10 +3,12 @@ Fuzzing expat
[http://expat.sourceforge.net/](http://expat.sourceforge.net/) [http://expat.sourceforge.net/](http://expat.sourceforge.net/)
To build fuzzers: builde the image and run it: To build fuzzers: build and run the docker image:
````bash ````bash
# Checkout sources
git clone https://github.com/google/oss-fuzz.git git clone https://github.com/google/oss-fuzz.git
git clone git://git.code.sf.net/p/expat/code_git expat git clone git://git.code.sf.net/p/expat/code_git expat
# Build & run the image.
docker build -t ossfuzz/expat oss-fizz/expat && \ docker build -t ossfuzz/expat oss-fizz/expat && \
docker run -i -v $PWD/oss-fuzz:/src/oss-fuzz -v $PWD/expat:/src/expat -v $HOME/tmp/out:/out -t ossfuzz/expat docker run -i -v $PWD/oss-fuzz:/src/oss-fuzz -v $PWD/expat:/src/expat -v $HOME/tmp/out:/out -t ossfuzz/expat
```` ````