diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-06-13 15:28:38 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-06-13 15:28:38 +0200 |
commit | 3d03024ab235cf09517b8b1125093a9062151da2 (patch) | |
tree | c67ed01909153d996e3a14411c9f2141cb3f3ed2 /fuzz/oss-fuzz-build | |
parent | d263a0493add9ea4bd6b7dae129cfc79b3108067 (diff) | |
download | qpdf-3d03024ab235cf09517b8b1125093a9062151da2.tar.zst |
oss-fuzz initial integration
Diffstat (limited to 'fuzz/oss-fuzz-build')
-rwxr-xr-x | fuzz/oss-fuzz-build | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/fuzz/oss-fuzz-build b/fuzz/oss-fuzz-build new file mode 100755 index 00000000..8a0b7d42 --- /dev/null +++ b/fuzz/oss-fuzz-build @@ -0,0 +1,18 @@ +#!/bin/bash -e + +# This is used invoked from +# https://github.com/google/oss-fuzz/blob/master/projects/qpdf/build.sh + +# It should be run from the top level directory of a clean checkout of +# qpdf. It is also exercised in ../azure-pipelines/build-fuzzer + +./configure \ + --enable-oss-fuzz \ + --enable-static \ + --disable-shared \ + --prefix="$WORK" \ + LDFLAGS="-L$WORK/lib" \ + CPPFLAGS="-I$WORK/include" \ + LIBS="-pthread" +make -j$(nproc) install +make install_fuzz |