unicorn
unicorn copied to clipboard
Possible bug fixing about CF_NOCACHE Flag Issue in TCG
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
I encounter this bug by calling uc_ctl_remove_cache and mem_write during uc_hook_code callback.
The fix seems not correct as the branch here is taken from QEMU code. What's the exact issue or any reproduction script?