Adjust ctl_remove_cache usage to signature

This commit is contained in:
elicn
2022-06-08 16:59:54 +03:00
parent 78731e38aa
commit 8b233f99fe

View File

@@ -55,7 +55,7 @@ def test_uc_ctl_tb_cache():
# Now we clear cache for all TBs. # Now we clear cache for all TBs.
for i in range(8): for i in range(8):
uc.ctl_remove_cache(addr + i * 512) uc.ctl_remove_cache(addr + i * 512, addr + 0x1000)
evicted = time_emulation(uc, addr, addr + len(code)) evicted = time_emulation(uc, addr, addr + len(code))