dbus-fuzzer / dfuzzer

D-Bus fuzzer
GNU General Public License v3.0
37 stars 10 forks source link
dbus fuzzing testing

dfuzzer

CodeQL Coverage Status Coverity Scan Status

dfuzzer is a D-Bus fuzzer, a tool for fuzz testing processes communicating through D-Bus. It can be used to test processes connected to both, the session bus and the system bus daemon. The fuzzer works as a client, it first connects to the bus daemon and then it traverses and fuzz tests all the methods and properties provided by a D-Bus service.

Automatic installation (Fedora):

sudo dnf install dfuzzer

Manual installation:

$ git clone https://github.com/dbus-fuzzer/dfuzzer
$ cd dfuzzer
$ meson --buildtype=release build
$ ninja -C ./build -v
$ sudo ninja -C ./build install

Requirements:

glib2-devel  (2.34 or higher)
meson
xsltproc
docbook-style-xsl

Fedora:

$ dnf install docbook-style-xsl glib2-devel libxslt meson

Debian:

$ apt-get install docbook-xsl libglib2.0-dev xsltproc meson

Using valgrind with GLib:

$ export G_SLICE=always-malloc G_DEBUG=gc-friendly
$ valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 ./app