unicorn
unicorn copied to clipboard
ARM32: Implementing UC_HOOK_TCG_OPCODE
https://github.com/unicorn-engine/unicorn/pull/2011
UC_HOOK_TCG_OPCODE is not supported for ARM now.
UC_HOOK_TCG_OPCODE for TCG_OP_SUB can be easily implemented for CMP (and CMN) instructions.
I think CMP and CMN instructions are nearly enough for implementing CMPLOG.
This is cool and looks good to me.
@wtdcode PR is updated. I've also changed unicornafl for cmplog. It works well on ARM32.
Closing as completed.