about summary refs log tree commit diff
path: root/frida_mode/include/instrument.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-08-26 18:06:41 +0100
committerYour Name <you@example.com>2021-08-26 18:06:41 +0100
commite5f5d5886af5d3fad07c2e64945236258b3aca23 (patch)
treea35abfb3649e7a58335926f91c3ddd80fc82581f /frida_mode/include/instrument.h
parent86f920f64535e724752022fced4e0b7e5c7d121a (diff)
downloadafl++-e5f5d5886af5d3fad07c2e64945236258b3aca23.tar.gz
Add unstable coverage support
Diffstat (limited to 'frida_mode/include/instrument.h')
-rw-r--r--frida_mode/include/instrument.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/frida_mode/include/instrument.h b/frida_mode/include/instrument.h
index 2e8d6b6d..909b2a2c 100644
--- a/frida_mode/include/instrument.h
+++ b/frida_mode/include/instrument.h
@@ -12,6 +12,7 @@ extern gboolean         instrument_optimize;
 extern gboolean         instrument_unique;
 extern __thread guint64 instrument_previous_pc;
 extern guint64          instrument_hash_zero;
+extern char *           instrument_coverage_unstable_filename;
 
 extern gboolean instrument_use_fixed_seed;
 extern guint64  instrument_fixed_seed;
@@ -44,6 +45,10 @@ void instrument_coverage_init(void);
 void instrument_coverage_start(uint64_t address);
 void instrument_coverage_end(uint64_t address);
 
+void instrument_coverage_unstable(guint64 edge, guint64 previous_rip,
+                                  guint64 previous_end, guint64 current_rip,
+                                  guint64 current_end);
+
 void instrument_on_fork();
 
 guint64 instrument_get_offset_hash(GumAddress current_rip);