diff options
author | WorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com> | 2021-06-24 18:46:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 19:46:08 +0200 |
commit | f348a35ec6cece54796599865c683505a475fe88 (patch) | |
tree | 38b46a34787b467a203d7432a8a3886b4123d621 /frida_mode/include/persistent.h | |
parent | 4057134d3c6ed202d426ebdcc9aa4edf3e122bda (diff) | |
download | afl++-f348a35ec6cece54796599865c683505a475fe88.tar.gz |
Added JS support (#992)
* Added JS support * Added some documentation Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/include/persistent.h')
-rw-r--r-- | frida_mode/include/persistent.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/frida_mode/include/persistent.h b/frida_mode/include/persistent.h index 25b44ab0..8f00196c 100644 --- a/frida_mode/include/persistent.h +++ b/frida_mode/include/persistent.h @@ -2,7 +2,7 @@ #ifndef _PERSISTENT_H #define _PERSISTENT_H -#include "frida-gum.h" +#include "frida-gumjs.h" #include "config.h" typedef struct arch_api_regs api_regs; @@ -19,9 +19,10 @@ extern unsigned char *__afl_fuzz_ptr; extern guint64 persistent_start; extern guint64 persistent_count; extern guint64 persistent_ret; -extern guint64 persistent_ret_offset; extern gboolean persistent_debug; -extern afl_persistent_hook_fn hook; +extern afl_persistent_hook_fn persistent_hook; + +void persistent_config(void); void persistent_init(void); |