Skip to content

Latest commit

 

History

History

step4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Step 4

In step 4, an in-memory hook has been added to further improve performance (see afl_config.sh).

Project organization

  • corpus: folder containing the initial corpus. In this case, it simply contains a certificate generated using OpenSSL;
  • afl_config.sh: script containing all the configuration options for AFL++;
  • build_corpus.sh: script to minimize corpus files and make the corpus unique;
  • fuzz.sh: script to launch AFL++-QEMU on our target.

This step also adds a dependency on the hook folder.

Running

Building the target

Assuming you haven't already compiled the target:

make -C ../src

Building the corpus

To build the corpus (only needs to be done once):

./build_corpus.sh

Warning: The corpus format is different for this step, so it must be rebuilt.

Fuzzing

To start a campaign, simply run:

./fuzz.sh