Download src/mruby/prep.sh from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/mruby/prep.sh
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/mruby/prep.sh
-
curl -L -o prep.sh https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/mruby/prep.sh
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 |