Expose more TB related stuff

This commit is contained in:
2021-11-01 22:11:43 +01:00
parent 14e175394b
commit b7e82d460c
6 changed files with 50 additions and 31 deletions

View File

@@ -121,8 +121,7 @@ typedef void (*uc_invalidate_tb_t)(struct uc_struct *uc, uint64_t start,
size_t len);
// Request generating TB at given address
typedef struct TranslationBlock *(*uc_gen_tb_t)(struct uc_struct *uc,
uint64_t pc);
typedef uc_err (*uc_gen_tb_t)(struct uc_struct *uc, uint64_t pc, uc_tb *out_tb);
struct hook {
int type; // UC_HOOK_*