From 57d1e4fba62f7d983b09c9ee4a32325cf68c8eba Mon Sep 17 00:00:00 2001 From: "Dongjia \"toka\" Zhang" Date: Wed, 5 Oct 2022 20:13:46 +0200 Subject: [PATCH] Fix Doc --- fuzzers/libfuzzer_libpng/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzzers/libfuzzer_libpng/README.md b/fuzzers/libfuzzer_libpng/README.md index 930a21025d..51d39c8f6c 100644 --- a/fuzzers/libfuzzer_libpng/README.md +++ b/fuzzers/libfuzzer_libpng/README.md @@ -22,7 +22,7 @@ cargo build --release This will build the library with the fuzzer (src/lib.rs) with the libfuzzer compatibility layer and the SanitizerCoverage runtime functions for coverage feedback. In addition, it will also build two C and C++ compiler wrappers (bin/libafl_c(libafl_c/xx).rs) that you must use to compile the target. -The compiler wrappers, `libafl_cc` and libafl_cxx`, will end up in `./target/release/` (or `./target/debug`, in case you did not build with the `--release` flag). +The compiler wrappers, `libafl_cc` and `libafl_cxx`, will end up in `./target/release/` (or `./target/debug`, in case you did not build with the `--release` flag). Then download libpng, and unpack the archive: ```bash @@ -34,7 +34,7 @@ Now compile libpng, using the libafl_cc compiler wrapper: ```bash cd libpng-1.6.37 -./configure +./configure --enable-shared=no --with-pic=yes --enable-hardware-optimizations=yes make CC="$(pwd)/../target/release/libafl_cc" CXX="$(pwd)/../target/release/libafl_cxx" -j `nproc` ```