mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
fix docs
This commit is contained in:
@ -668,8 +668,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
|
||||
|
||||
#if defined(AFL_CLANG_LDPATH) && LLVM_MAJOR >= 15
|
||||
// The NewPM implementation only works fully since LLVM 15.
|
||||
cc_params[cc_par_cnt++] =
|
||||
alloc_printf("-Wl,--load-pass-plugin=%s/SanitizerCoverageLTO.so", obj_path);
|
||||
cc_params[cc_par_cnt++] = alloc_printf(
|
||||
"-Wl,--load-pass-plugin=%s/SanitizerCoverageLTO.so", obj_path);
|
||||
#elif defined(AFL_CLANG_LDPATH) && LLVM_MAJOR >= 13
|
||||
cc_params[cc_par_cnt++] = "-Wl,--lto-legacy-pass-manager";
|
||||
cc_params[cc_par_cnt++] =
|
||||
|
@ -2420,7 +2420,9 @@ void get_core_count(afl_state_t *afl) {
|
||||
|
||||
} else if ((s64)cur_runnable + 1 <= (s64)afl->cpu_core_count) {
|
||||
|
||||
OKF("Try parallel jobs - see %s/parallel_fuzzing.md.", doc_path);
|
||||
OKF("Try parallel jobs - see "
|
||||
"%s/fuzzing_in_depth.md#c-using-multiple-cores",
|
||||
doc_path);
|
||||
|
||||
}
|
||||
|
||||
|
@ -192,9 +192,9 @@ static void usage(u8 *argv0, int more_help) {
|
||||
"executions.\n\n"
|
||||
|
||||
"Other stuff:\n"
|
||||
" -M/-S id - distributed mode (see docs/parallel_fuzzing.md)\n"
|
||||
" -M auto-sets -D, -Z (use -d to disable -D) and no "
|
||||
"trimming\n"
|
||||
" -M/-S id - distributed mode (-M sets -Z and disables trimming)\n"
|
||||
" see docs/fuzzing_in_depth.md#c-using-multiple-cores\n"
|
||||
" for effective recommendations for parallel fuzzing.\n"
|
||||
" -F path - sync to a foreign fuzzer queue directory (requires "
|
||||
"-M, can\n"
|
||||
" be specified up to %u times)\n"
|
||||
|
@ -19,7 +19,8 @@
|
||||
|
||||
This tool provides a fairly accurate measurement of CPU preemption rate.
|
||||
It is meant to complement the quick-and-dirty load average widget shown
|
||||
in the afl-fuzz UI. See docs/parallel_fuzzing.md for more info.
|
||||
in the afl-fuzz UI. See docs/fuzzing_in_depth.md#c-using-multiple-cores
|
||||
for more info.
|
||||
|
||||
For some work loads, the tool may actually suggest running more instances
|
||||
than you have CPU cores. This can happen if the tested program is spending
|
||||
|
@ -199,7 +199,8 @@ size_t LLVMFuzzerMutate(uint8_t *Data, size_t Size, size_t MaxSize) {
|
||||
|
||||
// Execute any files provided as parameters.
|
||||
static int ExecuteFilesOnyByOne(int argc, char **argv,
|
||||
int (*callback)(const uint8_t *data, size_t size)) {
|
||||
int (*callback)(const uint8_t *data,
|
||||
size_t size)) {
|
||||
|
||||
unsigned char *buf = (unsigned char *)malloc(MAX_FILE);
|
||||
|
||||
|
Reference in New Issue
Block a user