Run the steps for building libfuzzer-js first.
git clone --depth 1 https://github.com/indutny/bn.js.git
export BN_JS_PATH=$(realpath bn.js/lib/bn.js)
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_BN_JS"
cd cryptofuzz/modules/bn.js/
make
Run the steps for building libfuzzer-js first.
git clone --depth 1 https://github.com/indutny/bn.js.git
export BN_JS_PATH=$(realpath bn.js/lib/bn.js)
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_BN_JS"
cd cryptofuzz/modules/bn.js/
make