diff options
author | rapt0r <goktugserez@gmail.com> | 2024-10-20 16:00:17 +0900 |
---|---|---|
committer | rapt0r <goktugserez@gmail.com> | 2024-10-20 16:00:17 +0900 |
commit | 04d2476b324f5c6124c665b24989d15dd61f0f2b (patch) | |
tree | cf8bdb2cb14151e90bc8016203405b44501dd2e7 | |
parent | c1d9a4fab9b652a0ea810086ce064ec3836c7bd9 (diff) | |
download | afl++-04d2476b324f5c6124c665b24989d15dd61f0f2b.tar.gz |
doc: add description for AFL_GCC_DISABLE_VERSION_CHECK
-rw-r--r-- | docs/env_variables.md | 5 | ||||
-rw-r--r-- | src/afl-cc.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md index d0789105..d1edb6fd 100644 --- a/docs/env_variables.md +++ b/docs/env_variables.md @@ -326,6 +326,11 @@ mode. [instrumentation/README.instrument_list.md](../instrumentation/README.instrument_list.md) for more information. + Setting `AFL_GCC_DISABLE_VERSION_CHECK=1` will disable the GCC plugin + version check if the target GCC plugin differs from the system-installed + version, resolving issues caused by version mismatches between GCC and + the plugin. + Setting `AFL_GCC_OUT_OF_LINE=1` will instruct afl-gcc-fast to instrument the code with calls to an injected subroutine instead of the much more efficient inline instrumentation. diff --git a/src/afl-cc.c b/src/afl-cc.c index 677a6b2f..6f634b53 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -2958,6 +2958,8 @@ static void maybe_usage(aflcc_state_t *aflcc, int argc, char **argv) { SAYF( "\nGCC Plugin-specific environment variables:\n" " AFL_GCC_CMPLOG: log operands of comparisons (RedQueen mutator)\n" + " AFL_GCC_DISABLE_VERSION_CHECK: disable GCC plugin version " + "control\n" " AFL_GCC_OUT_OF_LINE: disable inlined instrumentation\n" " AFL_GCC_SKIP_NEVERZERO: do not skip zero on trace counters\n" " AFL_GCC_INSTRUMENT_FILE: enable selective instrumentation by " |