aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/cryptofuzz/Dockerfile
diff options
context:
space:
mode:
authorGravatar Guido Vranken <guidovranken@users.noreply.github.com>2020-09-14 21:03:01 +0200
committerGravatar GitHub <noreply@github.com>2020-09-14 12:03:01 -0700
commit68a53f7b9d2282b7f18048e30a0b41a61b8184a8 (patch)
tree2dda876de567be2a8098d25657a67fa747395fa4 /projects/cryptofuzz/Dockerfile
parentf9c56e2ec2a4eb324b7a37d4a6c21e0ed7e5c416 (diff)
[cryptofuzz] Add bn.js and bignumber.js (#4447)
These are popular JavaScript bignum libraries. Execution of JavaScript code happens through QuickJS. This commit adds xxd.c to the project directory because it's needed to build modules and the distribution doesn't provide it.
Diffstat (limited to 'projects/cryptofuzz/Dockerfile')
-rw-r--r--projects/cryptofuzz/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/projects/cryptofuzz/Dockerfile b/projects/cryptofuzz/Dockerfile
index 63b07b3c..fc288ae4 100644
--- a/projects/cryptofuzz/Dockerfile
+++ b/projects/cryptofuzz/Dockerfile
@@ -51,7 +51,10 @@ RUN git clone --depth 1 https://github.com/microsoft/SymCrypt.git
RUN git clone --depth 1 https://git.lysator.liu.se/nettle/nettle
RUN hg clone https://gmplib.org/repo/gmp/ libgmp/
RUN wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.0.tar.gz
+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/guidovranken/libfuzzer-js.git
RUN apt-get remove -y libunwind8
RUN apt-get install -y libssl-dev
-COPY build.sh $SRC/
+COPY build.sh xxd.c $SRC/