Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU
From:
Eduardo Felipe
Subject:
Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU
Date:
Sun, 22 Apr 2007 15:09:28 +0200
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.