Skip to content
Permalink
Browse files

Merge pull request googleprojectzero#72 from 0vercl0k/dev-afltmin

introducing the afl-tmin port for Windows.
  • Loading branch information...
ivanfratric committed Sep 13, 2017
2 parents cd2b73c + 474524c commit 992a68ba34df152e07453f0b592ff79aa8d4de9a
Showing with 1,463 additions and 1 deletion.
  1. +5 −0 CMakeLists.txt
  2. +2 −1 README.md
  3. +1,456 −0 afl-tmin.c
@@ -43,6 +43,11 @@ add_executable(afl-fuzz
afl-fuzz.c
)

project(afl-tmin)

add_executable(afl-tmin
afl-tmin.c
)


project(WinAFL)
@@ -346,11 +346,12 @@ You can invoke AFL tools with the flag `-Y` to enable the static instrumentation
```
afl-fuzz.exe -Y -i minset -o o1 -t 10000 -- -fuzz_iterations 5000 -- test_static.instr.exe @@
winafl-cmin.py -Y -t 100000 -i in -o minset -- test_static.instr.exe @@
afl-tmin.exe -Y -i ..\testcases\tests\big.txt -o big.min.txt -- test_static.instr.exe @@
```
### Building instrument.exe
For convenicence, a version of instrument.exe confirmed to work with WinAFL is included in the bin32 directory. If you want to build it yourself follow the instructions below.
For convenience, a version of instrument.exe confirmed to work with WinAFL is included in the bin32 directory. If you want to build it yourself follow the instructions below.
In order to clone [syzygy](https://github.com/google/syzygy/)'s repository you can follow the instructions outlined here: [SyzygyDevelopmentGuide](https://github.com/google/syzygy/wiki/SyzygyDevelopmentGuide). Once you have `depot_tools` and the repository cloned, you can compile instrument.exe like this:
Oops, something went wrong.

0 comments on commit 992a68b

Please sign in to comment.
You can’t perform that action at this time.