@@ -46,7 +46,7 @@ Combining the binaries and the fuzzer types results in eight fuzzing binaries:
4646
4747@subsection HowToBuild How to Build the LLVM Fuzzer
4848
49- Use the "--enable-fuzzing " during the configure step. Then just compile as usual.
49+ Use the "-D fuzz=enabled " during the meson setup step. Then just compile as usual.
5050
5151@code
5252meson setup build -D fuzz=enabled
@@ -171,7 +171,7 @@ for this are:
171171 compiler.
172172 - Specify a value of "--prefix" on the command line to set the directory
173173 into which Kea is installed.
174- - Add the "-Dfuzz =enabled" switch to the "meson setup" command line.
174+ - Add the "-D fuzz =enabled" switch to the "meson setup" command line.
175175 .
176176 For example:
177177 @code
@@ -327,7 +327,7 @@ while (not shutting down) {
327327 Read and process one packet
328328}
329329@endcode
330- When -Dfuzz =enabled is specified, this is conceptually modified to:
330+ When -D fuzz =enabled is specified, this is conceptually modified to:
331331@code{.unparsed}
332332while (not shutting down) {
333333 Read stdin and copy data to address/port on which Kea is listening
@@ -374,7 +374,7 @@ leaks).
374374No changes were required to Kea source code to fuzz configuration files. In
375375fact, other than compiling with afl-clang++ and installing the resultant
376376executable, no other steps are required. In particular, there is no need to
377- use the "-Dfuzz =enabled" switch in the configuration command line (although
377+ use the "-D fuzz =enabled" switch in the configuration command line (although
378378doing so will not cause any problems).
379379
380380@subsection fuzzThreads Changes Required for Multi-Threaded Kea
@@ -390,7 +390,7 @@ the AFL input in the background.
390390
391391@subsection fuzzNotesUnitTests Unit Test Failures
392392
393- If unit tests are built when -Dfuzz =enabled is specified and with the AFL
393+ If unit tests are built when -D fuzz =enabled is specified and with the AFL
394394compiler, note that tests which check or use the DHCP servers (i.e. the unit
395395tests in src/bin/dhcp4, src/bin/dhcp6 and src/bin/kea-admin) will fail.
396396With no AFL-related environment variables defined, a C++ exception will be
0 commit comments