aboutsummaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-04-16 12:24:10 +0200
committerGitHub <noreply@github.com>2023-04-16 12:24:10 +0200
commit87b9dc4ba0d14d7a144578faf37f899724b826a3 (patch)
tree36083ff4099c01b2aedf0edfe193fcc855004729 /include/common.h
parent2f6242d3f8b09bfbf9e2b172acd0c67015e6ef2b (diff)
parentd0b86bf05563dea686d27f14972f448b6f33023b (diff)
downloadAFLplusplus-87b9dc4ba0d14d7a144578faf37f899724b826a3.tar.gz
Merge pull request #1702 from schumilo/dev
add Nyx support in afl-showmap, afl-tmin, afl-cmin and afl-analyze
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 0958b035..e03566de 100644
--- a/include/common.h
+++ b/include/common.h
@@ -147,5 +147,11 @@ s32 create_file(u8 *fn);
void *afl_memmem(const void *haystack, size_t haystacklen, const void *needle,
size_t needlelen);
+#ifdef __linux__
+/* Nyx helper functions to create and remove tmp workdirs */
+char* create_nyx_tmp_workdir(void);
+void remove_nyx_tmp_workdir(afl_forkserver_t *fsrv, char* nyx_out_dir_path);
+#endif
+
#endif