Skip to content
Snippets Groups Projects
Commit df90feb4 authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Merge branch 'master' of git.zephyr-software.com:allnp/zafl_umbrella

parents 95e54e8b ab45f56c
No related branches found
No related tags found
No related merge requests found
Pipeline #1376 passed
......@@ -77,7 +77,18 @@ Invoke the rewritten version of /bin/ls and make sure it runs normally:
```
### Testing Zafl
#### Make sure afl itself is setup properly
#### Download afl and install it locally
```
wget http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz
tar -xzvf afl-latest.tgz
cd <afl_dir>
make
# build qemu support
cd qemu_mode
./build_qemu_support.sh
```
#### Test afl
```bash
cd /tmp
mkdir in
......@@ -85,6 +96,9 @@ echo "1" > in/1
afl-fuzz -i in -o out -Q -- /bin/ls @@
```
Alternatively, you may opt to build afl without QEMU support.
In that case, you will need to make sure that afl works for you.
You may see afl error messages such as this one that will need to be fixed:
```
afl-fuzz 2.52b by <lcamtuf@google.com>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment