diff options
author | WorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com> | 2021-04-28 18:26:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 19:26:19 +0200 |
commit | 3a0d4fe0d0a585d152a59ca4601d1981cedbf113 (patch) | |
tree | e97c8c7662cb4588df48fe040b2ddde866d2f142 /frida_mode/include/instrument.h | |
parent | f112357e6165b583924b9b4e44b5b6ef522f722f (diff) | |
download | afl++-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/instrument.h')
-rw-r--r-- | frida_mode/include/instrument.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/frida_mode/include/instrument.h b/frida_mode/include/instrument.h index 1b6c6bba..03fd33e5 100644 --- a/frida_mode/include/instrument.h +++ b/frida_mode/include/instrument.h @@ -1,10 +1,13 @@ +#ifndef _INSTRUMENT_H +#define _INSTRUMENT_H + #include "frida-gum.h" #include "config.h" -extern uint64_t __thread previous_pc; -extern uint8_t *__afl_area_ptr; -extern uint32_t __afl_map_size; +extern __thread uint64_t previous_pc; +extern uint8_t * __afl_area_ptr; +extern uint32_t __afl_map_size; void instrument_init(void); @@ -16,3 +19,5 @@ gboolean instrument_is_coverage_optimize_supported(void); void instrument_coverage_optimize(const cs_insn * instr, GumStalkerOutput *output); +#endif + |