Changeset View
Changeset View
Standalone View
Standalone View
compiler-rt/lib/fuzzer/FuzzerFlags.def
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | FUZZER_FLAG_STRING(exit_on_item, "Exit if an item with a given sha1 sum" | ||||
"Used primarily for testing libFuzzer itself.") | "Used primarily for testing libFuzzer itself.") | ||||
FUZZER_FLAG_INT(ignore_remaining_args, 0, "If 1, ignore all arguments passed " | FUZZER_FLAG_INT(ignore_remaining_args, 0, "If 1, ignore all arguments passed " | ||||
"after this one. Useful for fuzzers that need to do their own " | "after this one. Useful for fuzzers that need to do their own " | ||||
"argument parsing.") | "argument parsing.") | ||||
FUZZER_FLAG_STRING(focus_function, "Experimental. " | FUZZER_FLAG_STRING(focus_function, "Experimental. " | ||||
"Fuzzing will focus on inputs that trigger calls to this function. " | "Fuzzing will focus on inputs that trigger calls to this function. " | ||||
"If -focus_function=auto and -data_flow_trace is used, libFuzzer " | "If -focus_function=auto and -data_flow_trace is used, libFuzzer " | ||||
"will choose the focus functions automatically.") | "will choose the focus functions automatically.") | ||||
FUZZER_FLAG_INT(entropic, 0, "Experimental. Enables entropic power schedule.") | |||||
vitalybuka: entropic -> focus_rare_features
Not sure how, it would be nice to rename… | |||||
Not Done ReplyInline Actionsmany of comments are marked as "Done" but I see no changes. vitalybuka: many of comments are marked as "Done" but I see no changes.
| |||||
Tried to address all comments either inline or in the summary. In this case, I wrote
marcel: Tried to address all comments either inline or in the summary. In this case, I wrote
>>! In… | |||||
FUZZER_FLAG_INT(considered_rare, 0xFF, "Experimental. If entropic is enabled, " | |||||
"all features which are observed less often than the specified value " | |||||
"are considered as rare.") | |||||
FUZZER_FLAG_INT(topX_rarest_features, 100, "Experimental. If entropic is " | |||||
"enabled, we keep track of the frequencies only for the Top-X least " | |||||
"abundant features (union features that are considered as rare).") | |||||
FUZZER_FLAG_INT(analyze_dict, 0, "Experimental") | FUZZER_FLAG_INT(analyze_dict, 0, "Experimental") | ||||
FUZZER_DEPRECATED_FLAG(use_clang_coverage) | FUZZER_DEPRECATED_FLAG(use_clang_coverage) | ||||
FUZZER_FLAG_STRING(data_flow_trace, "Experimental: use the data flow trace") | FUZZER_FLAG_STRING(data_flow_trace, "Experimental: use the data flow trace") | ||||
FUZZER_FLAG_STRING(collect_data_flow, | FUZZER_FLAG_STRING(collect_data_flow, | ||||
"Experimental: collect the data flow trace") | "Experimental: collect the data flow trace") |
entropic -> focus_rare_features
Not sure how, it would be nice to rename sparse_energy_updates as something meaningful to libfuzzer user, to make it explain behavior change, not implementation details like now.