diff options
author | van Hauser <vh@thc.org> | 2023-08-04 21:13:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 21:13:07 +0000 |
commit | 2ce511353036efe7bd0c068c90fe7cf0ae20f670 (patch) | |
tree | bffd39d824f9197b34d739a63033a6b919faefce /include | |
parent | 738a6c07311a41515146c3adab04bce9336a160c (diff) | |
parent | 247d8539feb0dee3eab80586ee4e32292dc7ca78 (diff) | |
download | afl++-2ce511353036efe7bd0c068c90fe7cf0ae20f670.tar.gz |
Merge pull request #1822 from jschwartzentruber/nyx-log
Add AFL_NYX_LOG to redirect NYX hprintf messages to a file.
Diffstat (limited to 'include')
-rw-r--r-- | include/envs.h | 1 | ||||
-rw-r--r-- | include/forkserver.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/envs.h b/include/envs.h index ff303387..963e1367 100644 --- a/include/envs.h +++ b/include/envs.h @@ -191,6 +191,7 @@ static char *afl_environment_variables[] = { "AFL_NOOPT", "AFL_NYX_AUX_SIZE", "AFL_NYX_DISABLE_SNAPSHOT_MODE", + "AFL_NYX_LOG", "AFL_NYX_REUSE_SNAPSHOT", "AFL_PASSTHROUGH", "AFL_PATH", diff --git a/include/forkserver.h b/include/forkserver.h index 1d41d83d..5e498c56 100644 --- a/include/forkserver.h +++ b/include/forkserver.h @@ -199,6 +199,7 @@ typedef struct afl_forkserver { char *nyx_aux_string; bool nyx_use_tmp_workdir; char *nyx_tmp_workdir_path; + s32 nyx_log_fd; #endif } afl_forkserver_t; |