when block size is unknown because the translation cache is full, assign it value 0

This commit is contained in:
Nguyen Anh Quynh
2015-08-25 16:10:05 +08:00
parent c3e95ec34e
commit 39d3856871
2 changed files with 5 additions and 3 deletions

View File

@@ -121,7 +121,7 @@ typedef enum uc_err {
// Callback function for tracing code (UC_HOOK_CODE & UC_HOOK_BLOCK)
// @address: address where the code is being executed
// @size: size of machine instruction being executed
// @size: size of machine instruction(s) being executed, or 0 when size is unknown
// @user_data: user data passed to tracing APIs.
typedef void (*uc_cb_hookcode_t)(uch handle, uint64_t address, uint32_t size, void *user_data);