diff options
author | Simon Rettberg | 2017-10-30 21:39:56 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-10-30 21:39:56 +0100 |
commit | 46c3e0e276e62b6be76e69b68de56432692efcf3 (patch) | |
tree | 194ab981ea90f1227cfb94509b9d17b25bb29354 /src/server/rpc.h | |
parent | [SERVER] Missed occurence of AF_INET(6) -> HOST_IP[46] (diff) | |
download | dnbd3-46c3e0e276e62b6be76e69b68de56432692efcf3.tar.gz dnbd3-46c3e0e276e62b6be76e69b68de56432692efcf3.tar.xz dnbd3-46c3e0e276e62b6be76e69b68de56432692efcf3.zip |
[SERVER] Add AFL support
AFL is an instrumenting fuzzer.
It expects to pass input to the program to be tested
via command line (file name) or via stdin. This adds
support for reading messages that normally would arrive
via network directly from stdin. In this mode, the server
is pretty useless otherwise.
http://lcamtuf.coredump.cx/afl/
Diffstat (limited to 'src/server/rpc.h')
-rw-r--r-- | src/server/rpc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/rpc.h b/src/server/rpc.h index 1d50e77..f337067 100644 --- a/src/server/rpc.h +++ b/src/server/rpc.h @@ -3,6 +3,7 @@ struct dnbd3_host_t; +void rpc_init(); void rpc_sendStatsJson(int sock, struct dnbd3_host_t* host, const void *data, const int dataLen); #endif |