Skip to content

Commit 48fb28d

Browse files
committed
Update documents for MMU access
1 parent a59bb42 commit 48fb28d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

include/unicorn/unicorn.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,10 @@ typedef enum uc_hook_type {
418418
(UC_HOOK_MEM_READ + UC_HOOK_MEM_WRITE + UC_HOOK_MEM_FETCH)
419419

420420
/*
421-
Callback function for hooking memory (READ, WRITE & FETCH)
421+
Callback function for hooking memory (READ, WRITE & FETCH).
422+
423+
NOTE: The access might be splitted depending on the MMU implementation.
424+
UC_TLB_VIRTUAL provides more fine-grained control about memory accessing.
422425
423426
@type: this memory is being READ, or WRITE
424427
@address: address where memory is being written or read to
@@ -434,6 +437,9 @@ typedef void (*uc_cb_hookmem_t)(uc_engine *uc, uc_mem_type type,
434437
Callback function for handling invalid memory access events (UNMAPPED and
435438
PROT events)
436439
440+
NOTE: The access might be splitted depending on the MMU implementation.
441+
UC_TLB_VIRTUAL provides more fine-grained control about memory accessing.
442+
437443
@type: this memory is being READ, or WRITE
438444
@address: address where memory is being written or read to
439445
@size: size of data being read or written

0 commit comments

Comments
 (0)