softsec-kaist / ankou Goto Github PK
View Code? Open in Web Editor NEWAnkou: Guiding Grey-box Fuzzing towards Combinatorial Difference (ICSE '20)
License: MIT License
Ankou: Guiding Grey-box Fuzzing towards Combinatorial Difference (ICSE '20)
License: MIT License
Hi. I'm using the latest version of AFLPlusPlus with afl-clang-fast. The compiled harness definitely accepts input. However, for some reason ankou gives the following error during initialization for each case:
Problem when writing in control pipe: invalid argument
I run it with the following command:
./Ankou -app ./fuzzed_app -threads 1 -dict my.dict -i fuzz/ankou_input -o fuzz/ankou_output
Any ideas what could be the issue here?
Running with regular afl-fuzz works
Hi,
I've tried Ankou on https://github.com/llvm/llvm-project/blob/master/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp and failed to make Ankou find the bug
(unless I provide a very close corpus element).
Am I doing something wrong?
From the Ankou paper I expected that it would shine on this kind of puzzles.
My steps:
# Edit FourIndependentBranchesTest.cpp to replace exit(1) with abort()
afl-gcc -c ~/llvm-project/compiler-rt/lib/fuzzer/standalone/StandaloneFuzzTargetMain.c
afl-g++ ~/llvm-project/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp StandaloneFuzzT
argetMain.o
rm -rf in out
mkdir in out
echo x > in/x
AFL_SKIP_CPUFREQ=1 afl-fuzz -i in -o out ./a.out @@
# AFL doesn't find the bug in ~5 minutes
echo FUZB > in/y # input similar to the buggy one
AFL_SKIP_CPUFREQ=1 afl-fuzz -i in -o out ./a.out @@
# AFL finds the bug in a few seconds.
rm in/y
../Ankou -app ./a.out -args "@@" -i in -o out
Target: a.out
round number: 632 (10m32s)
len(seedPts) = 9 - throughput: 1.76e+03
total unique crashes: 0 - hangs: 1
#edges: 24 (0.04%)
<Ankou doesn't find the bug in 10+ minutes>
echo FUZB > in/y # input similar to the buggy one
../Ankou -app ./a.out -args "@@" -i in -o out
Target: a.out
round number: 26 (26s)
len(seedPts) = 12 - throughput: 1.62e+03
total unique crashes: 1 - hangs: 1
#edges: 25 (0.04%)
<Ankou finds the bug in 20 seconds>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.