zhangzhuosjtu / stochfuzz Goto Github PK
View Code? Open in Web Editor NEWSound and Cost-effective Fuzzing of Stripped Binaries by Incremental and Stochastic Rewriting
License: GNU General Public License v3.0
Sound and Cost-effective Fuzzing of Stripped Binaries by Incremental and Stochastic Rewriting
License: GNU General Public License v3.0
hello, when I ran AFL fuzz a demo program, the stoch-fuzz didn't respond. It keep stopping at “phantom file is create, please execute afldemo.phantom to communicate with the daemon”
I tried to install StochFuzz with build.sh, and the clang version in my environment is 10.0.0, but this script failed with message: "clang-6.0 or a newer version is required".
So I checked this script and find that the regular expression that you used when matching with clang version output, is not correct if the version number is bigger than 9:
clang --version | head -n 1 | grep -o -E "[[:digit:]].[[:digit:]].[[:digit:]]" | uniq | sort
Maybe this is better:
clang --version | head -n 1 | grep -o -E "[0-9]{1,2}.[0-9].[0-9]" | uniq | sort
ERROR call handler for PIE programs is unimplemented :./rewriter_handlers/handler_call.c:101
so your tool does not support PIE programs ?
While trying to build dependencies using the build.sh
, it turns out the glib
build fails.
Using the latest commit on master
and the OS is Ubuntu 18 LTS.
OS: ubuntu 22
reproduce:
./build.sh
sudo apt install libunwind-dev libglib-dev
replace all libasan.so.4 with libasan.so.6 in src/Makefile
cd src && make release
error:
clang -Wall -fno-stack-protector -fno-jump-tables -fpie -O3 -D_GNU_SOURCE -DNDEBUG -c loader.c
clang -nostdlib -o loader.out loader.o -Wl,--entry=_entry
/usr/bin/ld: loader.o: in function `loader_load':
loader.c:(.text+0xb6): undefined reference to `sysconf'
/usr/bin/ld: loader.c:(.text+0xd8): undefined reference to `sysconf'
/usr/bin/ld: loader.c:(.text+0x11a): undefined reference to `sysconf'
/usr/bin/ld: loader.c:(.text+0x74e): undefined reference to `sysconf'
/usr/bin/ld: loader.c:(.text+0x75b): undefined reference to `sysconf'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:97: loader] Error 1
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.