Skip to content

bladchan/untouchFuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

UntouchFuzz

Environment

  • LLVM-11Required or pass may be built failed)

  • Already tested under Ubuntu 20.04

Configuration

To be noticed that you should modify LLVM_CONFIG, CC, CXX in fuzzer/llvm_mode/[Makefile,afl-clang-fast.c] and fuzzer/llvm_mode_orig/[Makefile,afl-clang-fast.c] to your own compiler before using UntouchFuzz.

Build

cd fuzzer
make
cd llvm_mode
make
cd ../llvm_mode_orig
make

How to Use

# Example for build xpdf 4.04
cd ..
wget https://dl.xpdfreader.com/xpdf-4.04.tar.gz
tar -xzvf xpdf-4.04.tar.gz
cp -r xpdf-4.04 xpdf-4.04-untouch
cd xpdf-4.04
mkdir build && cd build
CC=~/fuzzer/afl-clang-fast-orig CXX=~/fuzzer/afl-clang-fast++-orig cmake ..
AFL_USE_ASAN=1 make -j4

cd ../../xpdf-4.04-untouch
mkdir build && cd build
CC=~/fuzzer/afl-clang-fast CXX=~/fuzzer/afl-clang-fast++ cmake ..
AFL_USE_ASAN=1 make -j4
cd ../../

# use UntouchFuzz to fuzz!
./afl-fuzz -m none -i ./testcases/others/pdf/ -o out -d -r ./xpdf-4.04-untouch/build/xpdf/pdftotext ./xpdf-4.04/build/xpdf/pdftotext @@ /dev/null

# just enjoy it~

About

A fuzzer which guided by untouched edges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published