about summary refs log tree commit diff
path: root/frida_mode/include/persistent.h
diff options
context:
space:
mode:
authorWorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com>2021-04-28 18:26:19 +0100
committerGitHub <noreply@github.com>2021-04-28 19:26:19 +0200
commit3a0d4fe0d0a585d152a59ca4601d1981cedbf113 (patch)
treee97c8c7662cb4588df48fe040b2ddde866d2f142 /frida_mode/include/persistent.h
parentf112357e6165b583924b9b4e44b5b6ef522f722f (diff)
downloadafl++-3a0d4fe0d0a585d152a59ca4601d1981cedbf113.tar.gz
Bumped warnings up to the max and fixed remaining issues (#890)
Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/include/persistent.h')
-rw-r--r--frida_mode/include/persistent.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/frida_mode/include/persistent.h b/frida_mode/include/persistent.h
index 017c26c7..e58c5301 100644
--- a/frida_mode/include/persistent.h
+++ b/frida_mode/include/persistent.h
@@ -1,6 +1,5 @@
 
 #ifndef _PERSISTENT_H
-
 #define _PERSISTENT_H
 
 #include "frida-gum.h"
@@ -17,9 +16,9 @@ extern int __afl_persistent_loop(unsigned int max_cnt);
 extern unsigned int * __afl_fuzz_len;
 extern unsigned char *__afl_fuzz_ptr;
 
-guint64                persistent_start;
-guint64                persistent_count;
-afl_persistent_hook_fn hook;
+extern guint64                persistent_start;
+extern guint64                persistent_count;
+extern afl_persistent_hook_fn hook;
 
 void persistent_init(void);
 
@@ -29,3 +28,4 @@ gboolean persistent_is_supported(void);
 void persistent_prologue(GumStalkerOutput *output);
 
 #endif
+