aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGravatar Mike Aizatsky <mike.aizatsky@gmail.com>2016-10-19 13:04:35 -0700
committerGravatar GitHub <noreply@github.com>2016-10-19 13:04:35 -0700
commit7d0063ea94c8d196692c22f184977b01ca5c6eab (patch)
treeb08a95c218ac9461c4156cc08f592388023fa602 /docs
parentf61b870b1c382c5759eaa224dba1afb6c5d2974c (diff)
Update new_library.md
Diffstat (limited to 'docs')
-rw-r--r--docs/new_library.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/new_library.md b/docs/new_library.md
index 99b52f39..0d86b88e 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 <git_url> # checkout all sources needed to build your library
-COPY build.sh <additional_files> /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
```