about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-08-17 18:42:44 +0100
committerYour Name <you@example.com>2021-08-17 18:42:44 +0100
commit10c98c2a4c6ef73e25d460933eeda60e320c9bbf (patch)
treeae72e04cc5387cf269834648c9f8a3d38eaf7a55
parentc3641fbd976f5ef4df05f06241a4f1dc99ed80a3 (diff)
downloadafl++-10c98c2a4c6ef73e25d460933eeda60e320c9bbf.tar.gz
Fix coverage data
-rw-r--r--frida_mode/src/instrument/instrument.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frida_mode/src/instrument/instrument.c b/frida_mode/src/instrument/instrument.c
index c0f1b2c9..e37c1d29 100644
--- a/frida_mode/src/instrument/instrument.c
+++ b/frida_mode/src/instrument/instrument.c
@@ -217,7 +217,7 @@ static void instrument_basic_block(GumStalkerIterator *iterator,
 
   instrument_flush(output);
   instrument_debug_end(output);
-  instrument_coverage_end(instr->address);
+  instrument_coverage_end(instr->address + instr->size);
 
 }