diff options
Diffstat (limited to 'executor/executor_bsd.h')
| -rw-r--r-- | executor/executor_bsd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/executor_bsd.h b/executor/executor_bsd.h index 2750fe3b7..873d6c906 100644 --- a/executor/executor_bsd.h +++ b/executor/executor_bsd.h @@ -99,6 +99,8 @@ static void cover_open(cover_t* cov, bool extra) fail("cover mmap failed"); cov->data = (char*)mmap_ptr; 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) |
