@@ -248,50 +248,52 @@ The `cargo test-fuzz` command is used to interact with fuzz targets, and to mani
248248#### Options
249249
250250```
251- --backtrace Display backtraces
252- --consolidate Move one target's crashes, hangs, and work queue to its corpus; to
253- consolidate all targets, use --consolidate-all
254- --display <OBJECT> Display concretizations, corpus, crashes, `impl` concretizations,
255- hangs, or work queue. By default, corpus uses an uninstrumented fuzz
256- target; the others use an instrumented fuzz target. To display the
257- corpus with instrumentation, use --display corpus-instrumented.
258- [possible values: concretizations, corpus, corpus-instrumented,
259- crashes, hangs, impl-concretizations, queue]
260- --exact Target name is an exact name rather than a substring
261- --exit-code Exit with 0 if the time limit was reached, 1 for other programmatic
262- aborts, and 2 if an error occurred; implies --no-ui, does not imply
263- --run-until-crash or -- -V <SECONDS>
264- --features <FEATURES> Space or comma separated list of features to activate
265- --list List fuzz targets
266- --manifest-path <PATH> Path to Cargo.toml
267- --no-default-features Do not activate the `default` feature
268- --no-instrumentation Compile without instrumentation (for testing build process)
269- --no-run Compile, but don't fuzz
270- --no-ui Disable user interface
271- -p, --package <PACKAGE> Package containing fuzz target
272- --persistent Enable persistent mode fuzzing
273- --pretty-print Pretty-print debug output when displaying/replaying
274- --replay <OBJECT> Replay corpus, crashes, hangs, or work queue. By default, corpus uses
275- an uninstrumented fuzz target; the others use an instrumented fuzz
276- target. To replay the corpus with instrumentation, use --replay
277- corpus-instrumented. [possible values: concretizations, corpus,
278- corpus-instrumented, crashes, hangs, impl-concretizations, queue]
279- --reset Clear fuzzing data for one target, but leave corpus intact; to reset
280- all targets, use --reset-all
281- --resume Resume target's last fuzzing session
282- --run-until-crash Stop fuzzing once a crash is found
283- --test <NAME> Integration test containing fuzz target
284- --timeout <TIMEOUT> Number of milliseconds to consider a hang when fuzzing or replaying
285- (equivalent to -- -t <TIMEOUT> when fuzzing)
286- --verbose Show build output when displaying/replaying
287- -h, --help Print help
288- -V, --version Print version
289-
290- To fuzz at most <SECONDS> of time, use:
291-
292- cargo test-fuzz ... -- -V <SECONDS>
293-
294- Try `cargo afl fuzz --help` to see additional fuzzer options.
251+ --backtrace Display backtraces
252+ --consolidate Move one target's crashes, hangs, and work queue to its corpus; to
253+ consolidate all targets, use --consolidate-all
254+ --display <OBJECT> Display concretizations, corpus, crashes, `impl` concretizations,
255+ hangs, or work queue. By default, corpus uses an uninstrumented
256+ fuzz target; the others use an instrumented fuzz target. To
257+ display the corpus with instrumentation, use --display
258+ corpus-instrumented. [possible values: concretizations, corpus,
259+ corpus-instrumented, crashes, hangs, impl-concretizations, queue]
260+ --exact Target name is an exact name rather than a substring
261+ --exit-code Exit with 0 if the time limit was reached, 1 for other
262+ programmatic aborts, and 2 if an error occurred; implies --no-ui,
263+ does not imply --run-until-crash or --max-total-time <SECONDS>
264+ --features <FEATURES> Space or comma separated list of features to activate
265+ --fuzzer <FUZZER> Fuzz using <FUZZER> [possible values: aflplusplus,
266+ aflplusplus-persistent, libfuzzer]
267+ --list List fuzz targets
268+ --manifest-path <PATH> Path to Cargo.toml
269+ --max-total-time <SECONDS> Fuzz at most <SECONDS> of time (equivalent to -- -V <SECONDS> for
270+ aflplusplus, and -- --max_total_time <SECONDS> for libfuzzer)
271+ --no-default-features Do not activate the `default` feature
272+ --no-instrumentation Compile without instrumentation (for testing build process)
273+ --no-run Compile, but don't fuzz
274+ --no-ui Disable user interface
275+ -p, --package <PACKAGE> Package containing fuzz target
276+ --pretty-print Pretty-print debug output when displaying/replaying
277+ --replay <OBJECT> Replay corpus, crashes, hangs, or work queue. By default, corpus
278+ uses an uninstrumented fuzz target; the others use an instrumented
279+ fuzz target. To replay the corpus with instrumentation, use
280+ --replay corpus-instrumented. [possible values: concretizations,
281+ corpus, corpus-instrumented, crashes, hangs, impl-concretizations,
282+ queue]
283+ --reset Clear fuzzing data for one target, but leave corpus intact; to
284+ reset all targets, use --reset-all
285+ --resume Resume target's last fuzzing session
286+ --run-until-crash Stop fuzzing once a crash is found
287+ --test <NAME> Integration test containing fuzz target
288+ --timeout <TIMEOUT> Number of milliseconds to consider a hang when fuzzing or
289+ replaying (equivalent to -- -t <TIMEOUT> when fuzzing with
290+ aflplusplus, and -- -timeout <TIMEOUT/1000> when fuzzing with
291+ libfuzzer)
292+ --verbose Show build output when displaying/replaying
293+ -h, --help Print help
294+ -V, --version Print version
295+
296+ Try `cargo afl fuzz --help` to see additional AFLplusplus options.
295297```
296298
297299### Convenience functions and macros
0 commit comments