From 61c13ade39473b1b4849ab0ae10ab4ceff324ba5 Mon Sep 17 00:00:00 2001 From: Arjun Date: Sat, 13 Jul 2024 09:42:42 +0530 Subject: fuzzing: update directory path in README and build-fuzz.sh Fixes: 965fc94e ("fuzzing: add fuzzing infrastructure in build system") Fixes: 5b65134c ("fuzzing: add a basic README") Signed-off-by: Arjun Signed-off-by: Andrew Clayton --- fuzzing/README.md | 10 +++++----- fuzzing/build-fuzz.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'fuzzing') diff --git a/fuzzing/README.md b/fuzzing/README.md index b1509327..9c70c801 100644 --- a/fuzzing/README.md +++ b/fuzzing/README.md @@ -43,11 +43,11 @@ $ mkdir -p build/fuzz_http_h1p_seed $ mkdir -p build/fuzz_http_h1p_peer_seed $ mkdir -p build/fuzz_json_seed -$ ./build/fuzz_basic build/fuzz_basic_seed src/fuzz/fuzz_basic_seed_corpus -$ ./build/fuzz_http_controller build/fuzz_http_controller_seed src/fuzz/fuzz_http_controller_seed_corpus -$ ./build/fuzz_http_h1p build/fuzz_http_h1p_seed src/fuzz/fuzz_http_h1p_seed_corpus -$ ./build/fuzz_http_h1p_peer build/fuzz_http_h1p_peer_seed src/fuzz/fuzz_http_h1p_peer_seed_corpus -$ ./build/fuzz_json build/fuzz_json_seed src/fuzz/fuzz_json_seed_corpus +$ ./build/fuzz_basic build/fuzz_basic_seed fuzzing/fuzz_basic_seed_corpus +$ ./build/fuzz_http_controller build/fuzz_http_controller_seed fuzzing/fuzz_http_seed_corpus +$ ./build/fuzz_http_h1p build/fuzz_http_h1p_seed fuzzing/fuzz_http_seed_corpus +$ ./build/fuzz_http_h1p_peer build/fuzz_http_h1p_peer_seed fuzzing/fuzz_http_seed_corpus +$ ./build/fuzz_json build/fuzz_json_seed fuzzing/fuzz_json_seed_corpus ``` Here is more information about [LibFuzzer](https://llvm.org/docs/LibFuzzer.html). diff --git a/fuzzing/build-fuzz.sh b/fuzzing/build-fuzz.sh index 04f080d9..62f7a676 100644 --- a/fuzzing/build-fuzz.sh +++ b/fuzzing/build-fuzz.sh @@ -16,5 +16,5 @@ mkdir -p build/fuzz_http_h1p_peer_seed mkdir -p build/fuzz_json_seed echo "" -echo "Run: ./build/\${fuzzer} build/\${fuzzer}_seed src/fuzz/\${fuzzer}_seed_corpus" +echo "Run: ./build/\${fuzzer} build/\${fuzzer}_seed fuzzing/\${fuzzer}_seed_corpus" echo "" -- cgit