|
From: | Atif Hashmi |
Subject: | Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU |
Date: | Tue, 24 Apr 2007 01:30:14 -0600 |
Hi Atif,
Your code seems quite ok to me. Just try including stored_eip inside the DisasContext, otherwise you'll lose its value between calls to disas_insn function.
Also make sure that the instructions you are using as markers are not executed elsewhere, as your compiler could generate them inside regular code or they could already exist in your OS.
Regards,
Eduardo
[Prev in Thread] | Current Thread | [Next in Thread] |