From 63087d9bd962fac2e7e76fead845e6a9392c3c49 Mon Sep 17 00:00:00 2001 From: CityOfLight77 <75525669+CityOfLight77@users.noreply.github.com> Date: Wed, 15 Dec 2021 09:24:28 +0700 Subject: Fix env var typo `AFL_MAX_EXRAS` -> `AFL_MAX_EXTRAS` --- docs/env_variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/env_variables.md b/docs/env_variables.md index c45f4ab9..dc79bf9e 100644 --- a/docs/env_variables.md +++ b/docs/env_variables.md @@ -397,7 +397,7 @@ checks or alter some of the more exotic semantics of the tool: target. This must be equal or larger than the size the target was compiled with. - - Setting `AFL_MAX_DET_EXRAS` will change the threshold at what number of + - Setting `AFL_MAX_DET_EXTRAS` will change the threshold at what number of elements in the `-x` dictionary and LTO autodict (combined) the probabilistic mode will kick off. In probabilistic mode, not all dictionary entries will be used all of the time for fuzzing mutations to not slow down -- cgit 1.4.1 From 176ede3fc82f8b6315942e103c260b93bf5cfe57 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Wed, 15 Dec 2021 09:50:35 +0100 Subject: afl-cc -v without errors --- docs/Changelog.md | 1 + src/afl-cc.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/Changelog.md b/docs/Changelog.md index 0253222b..1daa9a75 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -57,6 +57,7 @@ sending a mail to . - added AFL_USE_TSAN thread sanitizer support - llvm and LTO mode modified to work with new llvm 14-dev (again. again.) - fix for AFL_REAL_LD + - make -v without options work - added the very good grammar mutator "GramaTron" to the custom_mutators - added optimin, a faster and better corpus minimizer by diff --git a/src/afl-cc.c b/src/afl-cc.c index cafb8e32..442cf265 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -695,7 +695,7 @@ static void edit_params(u32 argc, char **argv, char **envp) { /* Detect stray -v calls from ./configure scripts. */ - u8 skip_next = 0; + u8 skip_next = 0, non_dash = 0; while (--argc) { u8 *cur = *(++argv); @@ -707,6 +707,7 @@ static void edit_params(u32 argc, char **argv, char **envp) { } + if (cur[0] != '-') { non_dash = 1; } if (!strncmp(cur, "--afl", 5)) continue; if (lto_mode && !strncmp(cur, "-fuse-ld=", 9)) continue; if (lto_mode && !strncmp(cur, "--ld-path=", 10)) continue; @@ -1025,7 +1026,7 @@ static void edit_params(u32 argc, char **argv, char **envp) { } - if (preprocessor_only || have_c) { + if (preprocessor_only || have_c || !non_dash) { /* In the preprocessor_only case (-E), we are not actually compiling at all but requesting the compiler to output preprocessed sources only. -- cgit 1.4.1 From a2314fc37fc2232647de0c9d434f3d2a955a4399 Mon Sep 17 00:00:00 2001 From: CityOfLight77 <75525669+CityOfLight77@users.noreply.github.com> Date: Wed, 15 Dec 2021 20:38:52 +0700 Subject: Add AFLtriage in crash processing tool --- docs/third_party_tools.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/third_party_tools.md b/docs/third_party_tools.md index 92229e84..8d40c429 100644 --- a/docs/third_party_tools.md +++ b/docs/third_party_tools.md @@ -45,6 +45,8 @@ Deployment, management, monitoring, reporting parallelize afl-tmin, startup, and data collection. Crash processing +* [AFLTriage](https://github.com/quic/AFLTriage) - + triage crashing input files using gdb. * [afl-crash-analyzer](https://github.com/floyd-fuh/afl-crash-analyzer) - another crash analyzer for AFL. * [fuzzer-utils](https://github.com/ThePatrickStar/fuzzer-utils) - a set of @@ -54,4 +56,4 @@ Crash processing * [AFLize](https://github.com/d33tah/aflize) - a tool that automatically generates builds of debian packages suitable for AFL. * [afl-fid](https://github.com/FoRTE-Research/afl-fid) - a set of tools for - working with input data. \ No newline at end of file + working with input data. -- cgit 1.4.1