]> git.puffer.fish Git - mirror/frr.git/commit
configure, zebra: Add some debug code to allow for fuzzing 1387/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 2 Nov 2017 14:56:03 +0000 (10:56 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 9 Nov 2017 18:16:45 +0000 (13:16 -0500)
commit411314ed4fbb407adc0cf50bfce5469f8d673e65
tree6bd3c196e37ebc461c2250f74fd2019da664cfd6
parent0db8196a967778a8d4e1018329b635b5716d6a08
configure, zebra: Add some debug code to allow for fuzzing

1) Write zserv api commands( one of each type ) to the side.  This will allow
us to use them as input for a fuzzer.

2) Add -c <file to pass to zapi read process> into zebra as a run-time
option of we've turned on fuzzing.

While in and of itself these are not terribly useful( you still need
an external fuzzer ), they provide an infrastructure to allow
tools like afl to test the zapi.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
configure.ac
doc/install.texi
zebra/main.c
zebra/zserv.c
zebra/zserv.h