mirror of https://github.com/google/oss-fuzz.git
[cryptofuzz] Add crypto-js (#4500)
This commit is contained in:
parent
0c637b93ba
commit
0fe19f69cb
|
@ -54,6 +54,7 @@ RUN wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.0.ta
|
||||||
RUN git clone --depth 1 https://github.com/indutny/bn.js.git
|
RUN git clone --depth 1 https://github.com/indutny/bn.js.git
|
||||||
RUN git clone --depth 1 https://github.com/MikeMcl/bignumber.js.git
|
RUN git clone --depth 1 https://github.com/MikeMcl/bignumber.js.git
|
||||||
RUN git clone --depth 1 https://github.com/guidovranken/libfuzzer-js.git
|
RUN git clone --depth 1 https://github.com/guidovranken/libfuzzer-js.git
|
||||||
|
RUN git clone --depth 1 https://github.com/brix/crypto-js.git
|
||||||
RUN apt-get remove -y libunwind8
|
RUN apt-get remove -y libunwind8
|
||||||
RUN apt-get install -y libssl-dev
|
RUN apt-get install -y libssl-dev
|
||||||
|
|
||||||
|
|
|
@ -83,6 +83,11 @@ then
|
||||||
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_BIGNUMBER_JS"
|
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_BIGNUMBER_JS"
|
||||||
cd $SRC/cryptofuzz/modules/bignumber.js/
|
cd $SRC/cryptofuzz/modules/bignumber.js/
|
||||||
make
|
make
|
||||||
|
|
||||||
|
export CRYPTO_JS_PATH="$SRC/crypto-js/"
|
||||||
|
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_CRYPTO_JS"
|
||||||
|
cd $SRC/cryptofuzz/modules/crypto-js/
|
||||||
|
make
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Compile NSS
|
# Compile NSS
|
||||||
|
|
Loading…
Reference in New Issue