diff options
Diffstat (limited to 'executor/executor_linux.h')
| -rw-r--r-- | executor/executor_linux.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/executor_linux.h b/executor/executor_linux.h index 3a0620fcd..ed3cbafb3 100644 --- a/executor/executor_linux.h +++ b/executor/executor_linux.h @@ -91,6 +91,8 @@ static void cover_open(cover_t* cov, bool extra) if (cov->data == MAP_FAILED) fail("cover mmap failed"); cov->data_end = cov->data + mmap_alloc_size; + cov->data_offset = is_kernel_64_bit ? sizeof(uint64_t) : sizeof(uint32_t); + cov->pc_offset = 0; } static void cover_protect(cover_t* cov) |
