File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1515# ###############################################################################
1616
1717FROM gcr.io/oss-fuzz-base/base-builder
18- RUN apt-get update && apt-get install -y pcscd libccid libpcsclite-dev libssl-dev libreadline-dev autoconf automake build-essential docbook-xsl xsltproc libtool pkg-config zlib1g-dev
18+ RUN apt-get update && apt-get install -y pcscd libccid libpcsclite-dev libssl-dev libreadline-dev autoconf automake build-essential docbook-xsl xsltproc libtool pkg-config zlib1g-dev help2man gengetopt
1919RUN git clone --depth 1 --single-branch --branch master https://github.com/OpenSC/OpenSC opensc
2020WORKDIR opensc
2121COPY build.sh $SRC/
Original file line number Diff line number Diff line change 1515#
1616# ###############################################################################
1717
18+ # Build OpenPACE
19+ if [ -d " openpace" ]; then
20+ rm -rf " openpace"
21+ fi
22+ git clone https://github.com/frankmorgner/openpace.git
23+ pushd openpace
24+ autoreconf --verbose --install
25+ ./configure --enable-static --disable-shared --prefix=/usr
26+ make
27+ make install
28+ popd
29+
1830./bootstrap
1931# FIXME FUZZING_LIBS="$LIB_FUZZING_ENGINE" fails with some missing C++ library, I don't know how to fix this
20- ./configure --disable-optimization --disable-shared --disable-pcsc --enable-ctapi --enable-fuzzing FUZZING_LIBS=" $LIB_FUZZING_ENGINE "
32+ ./configure --disable-optimization --enable-static -- disable-shared --disable-pcsc --enable-ctapi --enable-openpace --enable-fuzzing FUZZING_LIBS=" $LIB_FUZZING_ENGINE "
2133make -j4
2234
2335fuzzerFiles=$( find $SRC /opensc/src/tests/fuzzing/ -name " fuzz_*.c" )
You can’t perform that action at this time.
0 commit comments