diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index c057dcc9..89efb0c4 100644 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -418,7 +418,10 @@ typedef enum uc_hook_type { (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 @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 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 @address: address where memory is being written or read to @size: size of data being read or written