diff options
| author | Damiano Melotti <dmelotti@quarkslab.com> | 2022-01-15 19:28:18 +0100 |
|---|---|---|
| committer | Damiano Melotti <dmelotti@quarkslab.com> | 2022-01-15 19:28:18 +0100 |
| commit | c1415b816aac3e55c46028c9f032bc8550b652b0 (patch) | |
| tree | 78259a80f4e20d36602ac6c157ce4a0bed8cd564 /unicorn_mode/samples | |
| parent | 4217a6606c92f6a88ab577ae8f91823dd731562d (diff) | |
| download | afl++-c1415b816aac3e55c46028c9f032bc8550b652b0.tar.gz | |
Adjustments to unicorn docs and speedtest sample
Diffstat (limited to 'unicorn_mode/samples')
| -rw-r--r-- | unicorn_mode/samples/speedtest/README.md | 8 | ||||
| -rw-r--r-- | unicorn_mode/samples/speedtest/c/harness.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/unicorn_mode/samples/speedtest/README.md b/unicorn_mode/samples/speedtest/README.md index bd5ba8d0..9305417c 100644 --- a/unicorn_mode/samples/speedtest/README.md +++ b/unicorn_mode/samples/speedtest/README.md @@ -5,7 +5,7 @@ to show the raw speed of C, Rust, and Python harnesses. ## Compiling... -Make sure, you built unicornafl first (`../../build_unicorn_support.sh`). +Make sure you built unicornafl first (`../../build_unicorn_support.sh`). Then, follow these individual steps: ### Rust @@ -13,7 +13,7 @@ Then, follow these individual steps: ```bash cd rust cargo build --release -../../../afl-fuzz -i ../sample_inputs -o out -- ./target/release/harness @@ +../../../../afl-fuzz -i ../sample_inputs -o out -U -- ./target/release/harness @@ ``` ### C @@ -21,14 +21,14 @@ cargo build --release ```bash cd c make -../../../afl-fuzz -i ../sample_inputs -o out -- ./harness @@ +../../../../afl-fuzz -i ../sample_inputs -o out -U -- ./harness @@ ``` ### python ```bash cd python -../../../afl-fuzz -i ../sample_inputs -o out -U -- python3 ./harness.py @@ +../../../../afl-fuzz -i ../sample_inputs -o out -U -- python3 ./harness.py @@ ``` ## Results diff --git a/unicorn_mode/samples/speedtest/c/harness.c b/unicorn_mode/samples/speedtest/c/harness.c index e8de3d80..9eb05257 100644 --- a/unicorn_mode/samples/speedtest/c/harness.c +++ b/unicorn_mode/samples/speedtest/c/harness.c @@ -8,9 +8,9 @@ Run under AFL as follows: - $ cd <afl_path>/unicorn_mode/samples/simple/ + $ cd <afl_path>/unicorn_mode/samples/speedtest/c $ make - $ ../../../afl-fuzz -m none -i sample_inputs -o out -- ./harness @@ + $ ../../../../afl-fuzz -i ../sample_inputs -o out -U -- ./harness @@ */ // This is not your everyday Unicorn. |
