diff options
author | vanhauser-thc <vh@thc.org> | 2022-01-25 18:05:35 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-01-25 18:05:35 +0100 |
commit | 87f2789e98b2194dc3049a048d50e9c7cac6d82c (patch) | |
tree | 03a63862a570c125357fb34951db31dcdb113f8e | |
parent | d9ed7842987f221eee068c0b61cf890d5ed6aff7 (diff) | |
download | afl++-87f2789e98b2194dc3049a048d50e9c7cac6d82c.tar.gz |
fix unicorn python test path
5 files changed, 5 insertions, 5 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh index 842ad020..74f9e174 100755 --- a/unicorn_mode/build_unicorn_support.sh +++ b/unicorn_mode/build_unicorn_support.sh @@ -212,7 +212,7 @@ echo "[*] Unicornafl bindings installed successfully." # Compile the sample, run it, verify that it works! echo "[*] Testing unicornafl python functionality by running a sample test harness" -cd ../samples/simple || echo "Cannot cd" +cd ../samples/python_simple || echo "Cannot cd" # Run afl-showmap on the sample application. If anything comes out then it must have worked! unset AFL_INST_RATIO diff --git a/unicorn_mode/samples/c/harness.c b/unicorn_mode/samples/c/harness.c index 3a93aeaa..30972ce7 100644 --- a/unicorn_mode/samples/c/harness.c +++ b/unicorn_mode/samples/c/harness.c @@ -8,7 +8,7 @@ Run under AFL as follows: - $ cd <afl_path>/unicorn_mode/samples/simple/ + $ cd <afl_path>/unicorn_mode/samples/c $ make $ ../../../afl-fuzz -m none -i sample_inputs -o out -- ./harness @@ */ diff --git a/unicorn_mode/samples/compcov_x64/compcov_test_harness.py b/unicorn_mode/samples/compcov_x64/compcov_test_harness.py index f0749d1b..52f0a286 100644 --- a/unicorn_mode/samples/compcov_x64/compcov_test_harness.py +++ b/unicorn_mode/samples/compcov_x64/compcov_test_harness.py @@ -10,7 +10,7 @@ Run under AFL as follows: - $ cd <afl_path>/unicorn_mode/samples/simple/ + $ cd <afl_path>/unicorn_mode/samples/python_simple $ AFL_COMPCOV_LEVEL=2 ../../../afl-fuzz -U -m none -i ./sample_inputs -o ./output -- python compcov_test_harness.py @@ """ diff --git a/unicorn_mode/samples/python_simple/simple_test_harness.py b/unicorn_mode/samples/python_simple/simple_test_harness.py index cd04ad3a..8c5239b6 100644 --- a/unicorn_mode/samples/python_simple/simple_test_harness.py +++ b/unicorn_mode/samples/python_simple/simple_test_harness.py @@ -10,7 +10,7 @@ Run under AFL as follows: - $ cd <afl_path>/unicorn_mode/samples/simple/ + $ cd <afl_path>/unicorn_mode/samples/python_simple $ ../../../afl-fuzz -U -m none -i ./sample_inputs -o ./output -- python simple_test_harness.py @@ """ diff --git a/unicorn_mode/samples/python_simple/simple_test_harness_alt.py b/unicorn_mode/samples/python_simple/simple_test_harness_alt.py index 3249b13d..5fb3f82f 100644 --- a/unicorn_mode/samples/python_simple/simple_test_harness_alt.py +++ b/unicorn_mode/samples/python_simple/simple_test_harness_alt.py @@ -13,7 +13,7 @@ Run under AFL as follows: - $ cd <afl_path>/unicorn_mode/samples/simple/ + $ cd <afl_path>/unicorn_mode/samples/python_simple $ ../../../afl-fuzz -U -m none -i ./sample_inputs -o ./output -- python simple_test_harness_alt.py @@ """ |