unicorn icon indicating copy to clipboard operation
unicorn copied to clipboard

Possible bug fixing about CF_NOCACHE Flag Issue in TCG

Open saicao opened this issue 1 year ago • 2 comments

Is it a bug when a translated block with the CF_NOCACHE flag neither regenerates the translated block nor gets removed by uc_ctl_remove_cache? Here is my lazy fix for this issue. https://github.com/unicorn-engine/unicorn/commit/2d87f9c7002abaee4965e66bc5a2c7ce229c0829

saicao avatar Nov 16 '24 03:11 saicao

I encounter this bug by calling uc_ctl_remove_cache and mem_write during uc_hook_code callback.

saicao avatar Nov 16 '24 04:11 saicao

The fix seems not correct as the branch here is taken from QEMU code. What's the exact issue or any reproduction script?

wtdcode avatar Nov 16 '24 13:11 wtdcode