From 85c3fe47292f4e4e47a1f58f1347cb1f6d03b37e Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Tue, 20 Oct 2020 15:31:52 +0200 Subject: [BUILD] add option to build the dnbd3-server with afl-fuzz support The afl-fuzz support for the dnbd3-server requires an AFL C compiler like afl-gcc and can be enabled with the CMake option DNBD3_SERVER_AFL. --- src/bench/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bench') diff --git a/src/bench/main.c b/src/bench/main.c index a167f05..1a59747 100644 --- a/src/bench/main.c +++ b/src/bench/main.c @@ -76,6 +76,8 @@ int main(int argc, char *argv[]) int n_threads = 1; int bs = 4096; + log_init(); + if ( argc <= 1 || strcmp( argv[1], "--help" ) == 0 || strcmp( argv[1], "--usage" ) == 0 ) { printUsage( argv[0], 0 ); } -- cgit v1.2.3-55-g7522