mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-22 14:19:02 +00:00
Fix Unicorn support build script (#349)
* Fix Unicorn support build script for WSL. Co-authored-by: Dominik Maier <domenukk@gmail.com>
This commit is contained in:
@ -209,9 +209,9 @@ cd ../samples/simple || exit 1
|
|||||||
|
|
||||||
# Run afl-showmap on the sample application. If anything comes out then it must have worked!
|
# Run afl-showmap on the sample application. If anything comes out then it must have worked!
|
||||||
unset AFL_INST_RATIO
|
unset AFL_INST_RATIO
|
||||||
echo 0 | ../../../afl-showmap -U -m none -t 2000 -q -o .test-instr0 -- $PYTHONBIN simple_test_harness.py ./sample_inputs/sample1.bin || exit 1
|
echo 0 | ../../../afl-showmap -U -m none -t 2000 -q -o ./.test-instr0 -- $PYTHONBIN ./simple_test_harness.py ./sample_inputs/sample1.bin || exit 1
|
||||||
|
|
||||||
if [ -s .test-instr0 ]
|
if [ -s ./.test-instr0 ]
|
||||||
then
|
then
|
||||||
|
|
||||||
echo "[+] Instrumentation tests passed. "
|
echo "[+] Instrumentation tests passed. "
|
||||||
@ -227,6 +227,6 @@ else
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f .test-instr0
|
rm -f ./.test-instr0
|
||||||
|
|
||||||
exit $RETVAL
|
exit $RETVAL
|
||||||
|
Reference in New Issue
Block a user