Zaharije
2009-08-24 17:39:01 UTC
Hi,
i'm writing small debugger for native x86 code. It's working fine when I
read whole debuggee code into memory and disassemble it, but now I'm trying
to do more dynamically way (not dissembling whole code into).
What I need is to read ONLY portion of code which user can see in
disassemble window and just to decode that part.
My problem is how to find correct address for n-th instruction. I need this
because i'm using virtual list control. In general, i have request to show
(e.g.) 20 instruction starting from instruction 123. My problem is how to
find starting address of instruction 123?
Thx
i'm writing small debugger for native x86 code. It's working fine when I
read whole debuggee code into memory and disassemble it, but now I'm trying
to do more dynamically way (not dissembling whole code into).
What I need is to read ONLY portion of code which user can see in
disassemble window and just to decode that part.
My problem is how to find correct address for n-th instruction. I need this
because i'm using virtual list control. In general, i have request to show
(e.g.) 20 instruction starting from instruction 123. My problem is how to
find starting address of instruction 123?
Thx