diff options
author | Manuel Bentele | 2020-10-20 15:31:52 +0200 |
---|---|---|
committer | Manuel Bentele | 2020-10-20 15:31:52 +0200 |
commit | 85c3fe47292f4e4e47a1f58f1347cb1f6d03b37e (patch) | |
tree | d8d7cf3d229bec1ec0b94747b5f427fd6bd6f063 /src/bench | |
parent | [BUILD] do not stop Release build if repository is dirty but warn (diff) | |
download | dnbd3-85c3fe47292f4e4e47a1f58f1347cb1f6d03b37e.tar.gz dnbd3-85c3fe47292f4e4e47a1f58f1347cb1f6d03b37e.tar.xz dnbd3-85c3fe47292f4e4e47a1f58f1347cb1f6d03b37e.zip |
[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.
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 ); } |