Merge branch 'dev' into uc-py-next
This commit is contained in:
@@ -56,8 +56,8 @@ def test_uc_ctl_tb_cache():
|
||||
|
||||
# Now we clear cache for all TBs.
|
||||
for i in range(8):
|
||||
uc.ctl_remove_cache(addr + i * 512, addr + 0x1000)
|
||||
|
||||
uc.ctl_remove_cache(addr + i * 512, addr + i * 512 + 1)
|
||||
|
||||
evicted = time_emulation(uc, addr, addr + len(code))
|
||||
|
||||
print(f">>> Run time: First time {standard}, Cached: {cached}, Cached evicted: {evicted}")
|
||||
@@ -65,7 +65,7 @@ def test_uc_ctl_tb_cache():
|
||||
def trace_new_edge(uc, cur, prev, data):
|
||||
print(f">>> Getting a new edge from {hex(prev.pc + prev.size - 1)} to {hex(cur.pc)}")
|
||||
|
||||
def trace_tcg_sub(uc, address, arg1, arg2, data):
|
||||
def trace_tcg_sub(uc, address, arg1, arg2, size, data):
|
||||
print(f">>> Get a tcg sub opcode at {hex(address)} with args: {arg1} and {arg2}")
|
||||
|
||||
def test_uc_ctl_exits():
|
||||
|
||||
Reference in New Issue
Block a user