[compiler-rt] 091741a - [libfuzzer] Clarify -max_len behavior on bigger files (#123095)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 00:19:25 PST 2025
Author: Paweł Bylica
Date: 2025-01-23T09:19:21+01:00
New Revision: 091741a880c2df9d3d161068a12655d289633eee
URL: https://github.com/llvm/llvm-project/commit/091741a880c2df9d3d161068a12655d289633eee
DIFF: https://github.com/llvm/llvm-project/commit/091741a880c2df9d3d161068a12655d289633eee.diff
LOG: [libfuzzer] Clarify -max_len behavior on bigger files (#123095)
Added:
Modified:
compiler-rt/lib/fuzzer/FuzzerFlags.def
Removed:
################################################################################
diff --git a/compiler-rt/lib/fuzzer/FuzzerFlags.def b/compiler-rt/lib/fuzzer/FuzzerFlags.def
index fc3b3aa8c98ad5..b88458a497404c 100644
--- a/compiler-rt/lib/fuzzer/FuzzerFlags.def
+++ b/compiler-rt/lib/fuzzer/FuzzerFlags.def
@@ -14,8 +14,9 @@ FUZZER_FLAG_UNSIGNED(seed, 0, "Random seed. If 0, seed is generated.")
FUZZER_FLAG_INT(runs, -1,
"Number of individual test runs (-1 for infinite runs).")
FUZZER_FLAG_INT(max_len, 0, "Maximum length of the test input. "
- "If 0, libFuzzer tries to guess a good value based on the corpus "
- "and reports it. ")
+ "Contents of corpus files are going to be truncated to this value. "
+ "If 0, libFuzzer tries to guess a good value based on the corpus "
+ "and reports it.")
FUZZER_FLAG_INT(len_control, 100, "Try generating small inputs first, "
"then try larger inputs over time. Specifies the rate at which the length "
"limit is increased (smaller == faster). If 0, immediately try inputs with "
More information about the llvm-commits
mailing list