Re: Fiddling with the Instruction Pointer
- From: Tim Roberts <spamtrap@xxxxxxxxxx>
- Date: Fri, 30 Sep 2005 07:25:44 +0000 (UTC)
"Sami Lakka" <spamtrap@xxxxxxxxxx> wrote:
>
>It has been long since I did anything with x86 assembler and now I'm
>starting a small hobby project. What I would like to do is monitor the
>instructions that the x86 machine is performing ...
Have you thought about what you're asking here? How could an app monitor
the instructions? Where would such an app be executing?
>...and when certain conditions
>occur I would like to perform other operations instead of those in the
>instruction pointer. Could someone give me pointers how to do this with your
>regular x86 Windows XP machines. For example how to write an app that
>constantly monitors the IP?
On Linux, you can use the Bochs simulator to run and control x86 programs.
Another alternative would be to have one process control another process
using the "single step" capability of the x86 CPUs to move forward one
instruction at a time, like the DOS debug command.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Fiddling with the Instruction Pointer
- From: Sami Lakka
- Fiddling with the Instruction Pointer
- Prev by Date: Re: Shadow RAM control
- Next by Date: Re: From NASM to Visusal Studio source debugging
- Previous by thread: Re: Fiddling with the Instruction Pointer
- Next by thread: c++ inline assembler and oop
- Index(es):
Relevant Pages
|