diff options
| author | WorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com> | 2021-07-14 08:48:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-14 09:48:37 +0200 |
| commit | 94999782f1a3742e3e755a66f5d76e84573ae6ef (patch) | |
| tree | 9c2b40fae4587455e7feadb321d8a2ab3b5c1d96 /frida_mode/include | |
| parent | 7cec158b0eb9b09160e58b289093cf615e2ca429 (diff) | |
| download | afl++-94999782f1a3742e3e755a66f5d76e84573ae6ef.tar.gz | |
Improved block and edge numbering to reduce collisions (#1021)
Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/include')
| -rw-r--r-- | frida_mode/include/instrument.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/frida_mode/include/instrument.h b/frida_mode/include/instrument.h index 9c8d3a5d..695b46af 100644 --- a/frida_mode/include/instrument.h +++ b/frida_mode/include/instrument.h @@ -5,11 +5,12 @@ #include "config.h" -extern char * instrument_debug_filename; -extern gboolean instrument_tracing; -extern gboolean instrument_optimize; -extern gboolean instrument_unique; -extern __thread uint64_t instrument_previous_pc; +extern char * instrument_debug_filename; +extern gboolean instrument_tracing; +extern gboolean instrument_optimize; +extern gboolean instrument_unique; +extern __thread guint64 instrument_previous_pc; +extern guint64 instrument_hash_zero; extern uint8_t *__afl_area_ptr; extern uint32_t __afl_map_size; @@ -33,5 +34,10 @@ void instrument_debug_instruction(uint64_t address, uint16_t size); void instrument_debug_end(GumStalkerOutput *output); void instrument_flush(GumStalkerOutput *output); gpointer instrument_cur(GumStalkerOutput *output); + +void instrument_on_fork(); + +guint64 instrument_get_offset_hash(GumAddress current_rip); + #endif |
