Is it possible to dereference a pointer in winedbg? Help says that "*$eax" is a valid expression. But when I'm trying to use it it saying: Wine-dbg>p *$eax No type or type mismatch
Is there are a way to do this?
On Sun, Nov 27, 2005 at 06:35:15PM -0700, Vitaliy Margolen wrote:
Is it possible to dereference a pointer in winedbg? Help says that "*$eax" is a valid expression. But when I'm trying to use it it saying: Wine-dbg>p *$eax No type or type mismatch
Is there are a way to do this?
(x aka examine memory)
x $eax
Ciao, Marcus
Sunday, November 27, 2005, 10:50:39 PM, Marcus Meissner wrote:
On Sun, Nov 27, 2005 at 06:35:15PM -0700, Vitaliy Margolen wrote:
Is it possible to dereference a pointer in winedbg? Help says that "*$eax" is a valid expression. But when I'm trying to use it it saying: Wine-dbg>p *$eax No type or type mismatch
Is there are a way to do this?
(x aka examine memory)
x $eax
Ciao, Marcus
Well I need to add that to display. Something like: display/x *$eax Doing x $eax and then x <result> 100s times kind of hard.
Vitaliy
Vitaliy Margolen wrote:
Sunday, November 27, 2005, 10:50:39 PM, Marcus Meissner wrote:
On Sun, Nov 27, 2005 at 06:35:15PM -0700, Vitaliy Margolen wrote:
Is it possible to dereference a pointer in winedbg? Help says that "*$eax" is a valid expression. But when I'm trying to use it it saying: Wine-dbg>p *$eax No type or type mismatch
Is there are a way to do this?
(x aka examine memory)
x $eax
Ciao, Marcus
Well I need to add that to display. Something like: display/x *$eax Doing x $eax and then x <result> 100s times kind of hard.
display /x means (in gdb) formatting differently the output, not dereferencing the (so called) pointer (display is a repeated 'p' command, not a 'x' one). what you'd need is support for type casts and use something like: display *(int*)$eax I sent a couple of months ago a patch for winedbg that (partly) implemented the support for typecasts in wine. You should look for it. A+
Monday, November 28, 2005, 2:33:35 PM, Eric Pouech wrote:
Vitaliy Margolen wrote:
Sunday, November 27, 2005, 10:50:39 PM, Marcus Meissner wrote:
On Sun, Nov 27, 2005 at 06:35:15PM -0700, Vitaliy Margolen wrote:
Is it possible to dereference a pointer in winedbg? Help says that "*$eax" is a valid expression. But when I'm trying to use it it saying: Wine-dbg>p *$eax No type or type mismatch
Is there are a way to do this?
(x aka examine memory)
x $eax
Ciao, Marcus
Well I need to add that to display. Something like: display/x *$eax Doing x $eax and then x <result> 100s times kind of hard.
display /x means (in gdb) formatting differently the output, not dereferencing the (so called) pointer (display is a repeated 'p' command, not a 'x' one).
Yes I know. I meant /x for hex not decimal.
what you'd need is support for type casts and use something like: display *(int*)$eax
Yes correct. That's exactly what I need.
I sent a couple of months ago a patch for winedbg that (partly) implemented the support for typecasts in wine. You should look for it.
Could you please point me to it? I've spent last hour or so trying to find it.
Vitaliy.
please point me to it? I've spent last hour or so trying to find it.
just a quicker one: does display /i $eax help here ? A+
Thursday, December 1, 2005, 1:12:00 AM, Eric Pouech wrote:
please point me to it? I've spent last hour or so trying to find it.
just a quicker one: does display /i $eax help here ?
No, it doesn't. I need "display /i *$eax" - $eax is the pointer to a code pointer... Thanks anyway.
Vitaliy