dfuzzer is the D-Bus fuzzer, the 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 provided by a D-Bus service.
sudo yum/dnf install dfuzzer
$ git clone https://github.com/matusmarhefka/dfuzzer.git
Requirements:
glib2-devel (2.34 or higher)
libffi-devel (3.0 or higher)
doxygen (optional)
Fedora:
$ yum install glib2-devel libffi-devel
Debian:
$ apt-get install libglib2.0-dev libffi-dev
$ export G_SLICE=always-malloc G_DEBUG=gc-friendly
$ valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=20 ./app