Skip to content

Commit

Permalink
add setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
schumilo committed Nov 17, 2021
1 parent efca9aa commit 84c0412
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ More details can be found in our papers.

## Usage

Getting this fuzzer running is quite simple: move to the `rust_fuzzer/` folder and run `cargo run --release -- -h` to get the following describtion on all available parameters:
Getting this fuzzer running is quite simple: run `./setup.sh`, move to the `rust_fuzzer/` folder and run `cargo run --release -- -h` to get the following describtion on all available parameters:

```
Fuzz EVERYTHING!
Expand Down
19 changes: 19 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

#!/bin/bash
set -e

echo "[?] Checking submodules ..."
git submodule init
git submodule update

echo "[?] Checking rust_fuzzer ..."
cd rust_fuzzer
cargo build --release
cd -

echo "[?] Checking rust_fuzzer_debug ..."
cd rust_fuzzer_debug
cargo build --release
cd -

echo "[*] Done ... "

0 comments on commit 84c0412

Please sign in to comment.