dis-bench / src /mruby /prep.sh
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
424 Bytes
git clone \
https://github.com/mruby/mruby
git clone --depth 1 https://github.com/bshastry/mruby_seeds.git mruby_seeds
cd mruby && git checkout 8c8bbd94dce3b3eabcf72c674e690516c075b0ee
##
export LD=$CC
export LDFLAGS="$CFLAGS -fPIE"
rake -m
cp mruby_fuzzer
$CC -c $CFLAGS -Iinclude mruby_fuzzer.c -o mruby_fuzzer.o
$CXX $CXXFLAGS mruby_fuzzer.o $LIB_FUZZING_ENGINE -lm build/host/lib/libmruby.a -o mruby_fuzzer