From 7d0063ea94c8d196692c22f184977b01ca5c6eab Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Wed, 19 Oct 2016 13:04:35 -0700 Subject: [PATCH] Update new_library.md --- docs/new_library.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/new_library.md b/docs/new_library.md index 99b52f394..0d86b88ee 100644 --- a/docs/new_library.md +++ b/docs/new_library.md @@ -51,7 +51,7 @@ FROM ossfuzz/base-libfuzzer # base image with clang toolchain MAINTAINER YOUR_EMAIL # each file should have a maintainer RUN apt-get install -y ... # install required packages to build a project RUN git checkout # checkout all sources needed to build your library -COPY build.sh /src/ # install build script and other files. +COPY build.sh fuzzer.cc /src/ # install build script and other source files. ``` Expat example: [expat/Dockerfile](../expat/Dockerfile) @@ -104,7 +104,7 @@ make clean all # build the fuzzer, linking with libFuzzer and libexpat.a $CXX $CXXFLAGS -std=c++11 -Ilib/ \ - /src/oss-fuzz/expat/parse_fuzzer.cc -o /out/expat_parse_fuzzer \ + /src/parse_fuzzer.cc -o /out/expat_parse_fuzzer \ -lfuzzer .libs/libexpat.a \ $FUZZER_LDFLAGS ```