summaryrefslogtreecommitdiffhomepage
path: root/fuzzing
diff options
context:
space:
mode:
authorArjun <pkillarjun@protonmail.com>2024-07-13 09:42:42 +0530
committerAndrew Clayton <a.clayton@nginx.com>2024-07-15 14:37:46 +0100
commit61c13ade39473b1b4849ab0ae10ab4ceff324ba5 (patch)
tree31b6363668e7c8db0b2c12716aee9e3e0835db50 /fuzzing
parentfcbaf8f3162e8b589628a8bbe10690a9759f56bb (diff)
downloadunit-61c13ade39473b1b4849ab0ae10ab4ceff324ba5.tar.gz
unit-61c13ade39473b1b4849ab0ae10ab4ceff324ba5.tar.bz2
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 <pkillarjun@protonmail.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'fuzzing')
-rw-r--r--fuzzing/README.md10
-rw-r--r--fuzzing/build-fuzz.sh2
2 files changed, 6 insertions, 6 deletions
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 ""