about summary refs log tree commit diff
path: root/src/afl-fuzz-state.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-05-14 18:41:44 +0200
committerhexcoder- <heiko@hexco.de>2020-05-14 18:41:44 +0200
commitae15803bf1cfa86067013b6b1d447de75ef45667 (patch)
treeaa265550c258bb51330dead859ff945daef05652 /src/afl-fuzz-state.c
parent9e375179d8bfe1375625258b4fcdf018cd598cfc (diff)
parent682b620922a7d30393e30e23f4c1d7e05a83a6cc (diff)
downloadafl++-ae15803bf1cfa86067013b6b1d447de75ef45667.tar.gz
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'src/afl-fuzz-state.c')
-rw-r--r--src/afl-fuzz-state.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c
index 316f9bd9..99863103 100644
--- a/src/afl-fuzz-state.c
+++ b/src/afl-fuzz-state.c
@@ -313,8 +313,10 @@ void read_afl_environment(afl_state_t *afl, char **envp) {
 
                               afl_environment_variable_len)) {
 
-            afl->afl_env.afl_post_library =
-                (u8 *)get_afl_env(afl_environment_variables[i]);
+            FATAL(
+                "AFL_POST_LIBRARY is deprecated, use "
+                "AFL_CUSTOM_MUTATOR_LIBRARY instead, see "
+                "docs/custom_mutators.md");
 
           } else if (!strncmp(env, "AFL_CUSTOM_MUTATOR_LIBRARY",