diff options
author | hexcoder- <heiko@hexco.de> | 2019-07-13 08:09:19 +0200 |
---|---|---|
committer | Hexcoder <heiko@hexco.de> | 2019-07-13 09:39:51 +0200 |
commit | f45332e1ab1f7b82c38c6fcc3c451fca35d5a9ce (patch) | |
tree | 1cb23f960ccb9e4881e5e0979a78bb3c4f803262 /afl-common.h | |
parent | d9c70c7b8cdcde0827e167c61f60f862bc9a3ba8 (diff) | |
download | afl++-f45332e1ab1f7b82c38c6fcc3c451fca35d5a9ce.tar.gz |
portability fix: getcwd(NULL, 0) is a non-POSIX glibc extension. Refactor
detect_file_args() in a separate file in order to avoid multiple copies.
Diffstat (limited to 'afl-common.h')
-rw-r--r-- | afl-common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/afl-common.h b/afl-common.h new file mode 100644 index 00000000..07afb75d --- /dev/null +++ b/afl-common.h @@ -0,0 +1,5 @@ +#ifndef __AFLCOMMON_H +#define __AFLCOMMON_H + +void detect_file_args(char **argv, u8 *prog_in); +#endif |