Skip to content

Commit

Permalink
Merge pull request #1930 from lockbox/address-typo
Browse files Browse the repository at this point in the history
Address typo in documentation of address in memory event callbacks
  • Loading branch information
wtdcode authored Mar 20, 2024
2 parents 227ff1d + 321de00 commit b4f2ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/unicorn/unicorn.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ typedef enum uc_hook_type {
Callback function for hooking memory (READ, WRITE & FETCH)
@type: this memory is being READ, or WRITE
@address: address where the code is being executed
@address: address where memory is being written or read to
@size: size of data being read or written
@value: value of data being written to memory, or irrelevant if type = READ.
@user_data: user data passed to tracing APIs
Expand All @@ -435,7 +435,7 @@ typedef void (*uc_cb_hookmem_t)(uc_engine *uc, uc_mem_type type,
PROT events)
@type: this memory is being READ, or WRITE
@address: address where the code is being executed
@address: address where memory is being written or read to
@size: size of data being read or written
@value: value of data being written to memory, or irrelevant if type = READ.
@user_data: user data passed to tracing APIs
Expand Down

0 comments on commit b4f2ac9

Please sign in to comment.