Skip to content

suntimeyoung/SS-Fuzz-LAB04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHINA FUZZ LOOP

Brief Introduction

This project is for BUAA CST SS lab4.

Toolchain

tool version
Linux 22.04.1-Ubuntu x86_64 GNU/Linux (ensure Unix-like!)
Clang/Clang++ Ubuntu clang version 12.0.1-19ubuntu3 (not 14!)
llvm-config 12.0.1 (not 14.0.0!)
make GNU Make 4.3 x86_64
cmake cmake version 3.22.1 (ensure >= 3.10)

Quickstart

  1. Run:

    $ ./run.sh
    
  2. Then:

    $ bin/fuzz_main                  // default using example/test.cpp for demo.
    
  3. For more clarity:

    $ bin/fuzz_main | grep Parent
    $ bin/fuzz_main | grep Child
    $ cat /tmp/.fuzzlab/logs/test.cpp.elf.log | grep testing
    $ cat /tmp/.fuzzlab/logs/test.cpp.elf.log | grep round
    ...
    
  4. For more types of bugs (null-deref, doublefree, divby0, uaf, outofboundary):

    $ ./run.sh 1-nullptr.cpp         // for example, nullptr dereference.
    $ bin/fuzz_main 1-nullptr.cpp.elf
    $ cat /tmp/.fuzzlab/logs/1-nullptr.cpp.elf.log
    $ cat /tmp/.fuzzlab/logs/1-nullptr.cpp.elf.log | grep testing
    $ cat /tmp/.fuzzlab/logs/1-nullptr.cpp.elf.log | grep round
    

Ideas

See ./src/README.md.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •