Generate test case files for API fuzz testing
- Generate test files using Python, that represent function calls and their input parameters
- Fuzz the files with AFL
- Parse the fuzzed files within a C test program looking for API errors
This is a fork of the test case file generation code from TriforceLinuxSyscallFuzzer
- Install AFL
wget http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz
cd afl-2.52b
make
sudo make install
- Make library
cd fuzzapifile
make
cd example
make
./gen_testcases.py
./target < testscases/base.dat