mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 15:55:37 +00:00
Fixing issues with const_generator.py (#832)
This commit is contained in:
parent
4b9efdc986
commit
476553223b
|
@ -251,7 +251,7 @@ typedef enum uc_hook_type {
|
||||||
#define UC_HOOK_MEM_VALID (UC_HOOK_MEM_READ + UC_HOOK_MEM_WRITE + UC_HOOK_MEM_FETCH)
|
#define UC_HOOK_MEM_VALID (UC_HOOK_MEM_READ + UC_HOOK_MEM_WRITE + UC_HOOK_MEM_FETCH)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Callback function for hooking memory (UC_MEM_READ, UC_MEM_WRITE & UC_MEM_FETCH)
|
Callback function for hooking memory (READ, WRITE & FETCH)
|
||||||
|
|
||||||
@type: this memory is being READ, or WRITE
|
@type: this memory is being READ, or WRITE
|
||||||
@address: address where the code is being executed
|
@address: address where the code is being executed
|
||||||
|
@ -263,8 +263,8 @@ typedef void (*uc_cb_hookmem_t)(uc_engine *uc, uc_mem_type type,
|
||||||
uint64_t address, int size, int64_t value, void *user_data);
|
uint64_t address, int size, int64_t value, void *user_data);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Callback function for handling invalid memory access events (UC_MEM_*_UNMAPPED and
|
Callback function for handling invalid memory access events (UNMAPPED and
|
||||||
UC_MEM_*PROT events)
|
PROT events)
|
||||||
|
|
||||||
@type: this memory is being READ, or WRITE
|
@type: this memory is being READ, or WRITE
|
||||||
@address: address where the code is being executed
|
@address: address where the code is being executed
|
||||||
|
|
Loading…
Reference in a new issue