Update documents for MMU access
This commit is contained in:
@@ -418,7 +418,10 @@ typedef enum uc_hook_type {
|
|||||||
(UC_HOOK_MEM_READ + UC_HOOK_MEM_WRITE + UC_HOOK_MEM_FETCH)
|
(UC_HOOK_MEM_READ + UC_HOOK_MEM_WRITE + UC_HOOK_MEM_FETCH)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Callback function for hooking memory (READ, WRITE & FETCH)
|
Callback function for hooking memory (READ, WRITE & FETCH).
|
||||||
|
|
||||||
|
NOTE: The access might be splitted depending on the MMU implementation.
|
||||||
|
UC_TLB_VIRTUAL provides more fine-grained control about memory accessing.
|
||||||
|
|
||||||
@type: this memory is being READ, or WRITE
|
@type: this memory is being READ, or WRITE
|
||||||
@address: address where memory is being written or read to
|
@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,
|
|||||||
Callback function for handling invalid memory access events (UNMAPPED and
|
Callback function for handling invalid memory access events (UNMAPPED and
|
||||||
PROT events)
|
PROT events)
|
||||||
|
|
||||||
|
NOTE: The access might be splitted depending on the MMU implementation.
|
||||||
|
UC_TLB_VIRTUAL provides more fine-grained control about memory accessing.
|
||||||
|
|
||||||
@type: this memory is being READ, or WRITE
|
@type: this memory is being READ, or WRITE
|
||||||
@address: address where memory is being written or read to
|
@address: address where memory is being written or read to
|
||||||
@size: size of data being read or written
|
@size: size of data being read or written
|
||||||
|
|||||||
Reference in New Issue
Block a user