Add python bindings for ctl_flush_tb

This commit is contained in:
2022-04-26 00:48:55 +02:00
parent cdae57fb3d
commit f9bb1ba505

View File

@@ -772,6 +772,9 @@ class Uc(object):
def ctl_request_cache(self, addr):
return self.__ctl_rw_1_1_arg(uc.UC_CTL_TB_REQUEST_CACHE, addr, ctypes.c_uint64, uc_tb)
def ctl_flush_tb(self):
self.ctl(self.__ctl_w(uc.UC_CTL_TB_FLUSH, 0))
# add a hook
def hook_add(self, htype, callback, user_data=None, begin=1, end=0, arg1=0, arg2=0):