Skip to content

Commit b4f2ac9

Browse files
authored
Merge pull request #1930 from lockbox/address-typo
Address typo in documentation of address in memory event callbacks
2 parents 227ff1d + 321de00 commit b4f2ac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/unicorn/unicorn.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ typedef enum uc_hook_type {
421421
Callback function for hooking memory (READ, WRITE & FETCH)
422422
423423
@type: this memory is being READ, or WRITE
424-
@address: address where the code is being executed
424+
@address: address where memory is being written or read to
425425
@size: size of data being read or written
426426
@value: value of data being written to memory, or irrelevant if type = READ.
427427
@user_data: user data passed to tracing APIs
@@ -435,7 +435,7 @@ typedef void (*uc_cb_hookmem_t)(uc_engine *uc, uc_mem_type type,
435435
PROT events)
436436
437437
@type: this memory is being READ, or WRITE
438-
@address: address where the code is being executed
438+
@address: address where memory is being written or read to
439439
@size: size of data being read or written
440440
@value: value of data being written to memory, or irrelevant if type = READ.
441441
@user_data: user data passed to tracing APIs

0 commit comments

Comments
 (0)