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 15
15
# ###############################################################################
16
16
17
17
FROM 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
19
19
RUN git clone --depth 1 --single-branch --branch master https://github.com/OpenSC/OpenSC opensc
20
20
WORKDIR opensc
21
21
COPY build.sh run_tests.sh $SRC/
Original file line number Diff line number Diff line change 15
15
#
16
16
# ###############################################################################
17
17
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
+
18
30
./bootstrap
19
31
# FIXME FUZZING_LIBS="$LIB_FUZZING_ENGINE" fails with some missing C++ library, I don't know how to fix this
20
- ./configure --enable-tests --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 "
21
33
make -j4
22
34
23
35
fuzzerFiles=$( find $SRC /opensc/src/tests/fuzzing/ -name " fuzz_*.c" )
You can’t perform that action at this time.
0 commit comments