fix unicorn python test path

This commit is contained in:
vanhauser-thc 2022-01-25 18:05:35 +01:00
parent d9ed784298
commit 87f2789e98
5 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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 @@
*/

View File

@ -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 @@
"""

View File

@ -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 @@
"""

View File

@ -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 @@
"""