Remember the regions a hook has intrumented and clear cache on deletion

This commit is contained in:
2022-06-02 14:46:02 +02:00
parent 637dc8a8a0
commit fdd129fd30
3 changed files with 63 additions and 0 deletions

View File

@@ -147,6 +147,8 @@ _end_loop:
db->tb->size = db->pc_next - db->pc_first;
db->tb->icount = db->num_insns;
hooked_regions_check(uc, db->tb->pc, db->tb->size);
if (block_hook) {
TCGOp *tcg_op;