about summary refs log tree commit diff
path: root/include/common.h
diff options
context:
space:
mode:
authorSergej Schumilo <sergej@schumilo.de>2023-04-14 02:25:33 +0200
committerSergej Schumilo <sergej@schumilo.de>2023-04-14 02:25:33 +0200
commiteefd98f3741b5feca32c75b34a8d7b33e34044d0 (patch)
treea2a158ba4f9e7ea5439fd9ef47a5073de45b65a5 /include/common.h
parent824385f52ce3133ecd033e587aa1a3b324adf76c (diff)
downloadafl++-eefd98f3741b5feca32c75b34a8d7b33e34044d0.tar.gz
add Nyx support in various tools (like afl-cmin)
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..279a5f47 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(char* nyx_out_dir_path);
+#endif
+
 #endif