From aa2934b4223665b54f72442cb6b94d639b1618de Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Tue, 7 May 2024 15:15:07 +0900 Subject: [PATCH] docs: run fuzz tests in dev mode & disable sanitizer (#3871) doc: run fuzz tests in dev mode & disable sanitizer --- tests-fuzz/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests-fuzz/README.md b/tests-fuzz/README.md index 780107a650..99786c5d42 100644 --- a/tests-fuzz/README.md +++ b/tests-fuzz/README.md @@ -33,7 +33,7 @@ cargo fuzz list --fuzz-dir tests-fuzz 2. Run a fuzz target. ```bash -cargo fuzz run fuzz_create_table --fuzz-dir tests-fuzz +cargo fuzz run fuzz_create_table --fuzz-dir tests-fuzz -D -s none ``` ## Crash Reproduction @@ -47,11 +47,11 @@ echo "Base64" > .crash Print the `std::fmt::Debug` output for an input. ```bash -cargo fuzz fmt fuzz_target .crash --fuzz-dir tests-fuzz +cargo fuzz fmt fuzz_target .crash --fuzz-dir tests-fuzz -D -s none ``` Rerun the fuzz test with the input. ```bash -cargo fuzz run fuzz_target .crash --fuzz-dir tests-fuzz +cargo fuzz run fuzz_target .crash --fuzz-dir tests-fuzz -D -s none ``` For more details, visit [cargo fuzz](https://rust-fuzz.github.io/book/cargo-fuzz/tutorial.html) or run the command `cargo fuzz --help`.