Requirements
Preparation
$ cd <fuzzing_dir> $ tar -xvzf bind-9.15.4.tar.gz $ cd bind-9.15.4 $ patch -p1 < <honggfuzz_dir>/examples/bind/bind-9.15.4.patch $ chmod 755 compile.sh
$ vim compile.sh # [edit the --prefix] $ ./compile.sh $ make install
<fuzzing_directory>/bind/dist/etc/named.conf
(i.e. to your bind/named dist directory)$ cp honggfuzz/examples/bind/named.conf <fuzzing_directory>/bind/dist/etc/ $ cp honggfuzz/examples/bind/test.zone <fuzzing_directory>/bind/dist/etc/
$ vim <fuzzing_directory>/bind/dist/etc/named.conf # [edit the *directory* directive]
$ <honggfuzz_dir>/honggfuzz -i input_corpus -- ./dist/sbin/named -c <fuzzing_directory>/bind/dist/etc/named.conf -g