Disassembly notation in 7.1 - can't see variable's address
From: Rudy Ray Moore (rudymoore_at_hotmail.com)
Date: 03/23/04
- Next message: Ragi Y. Burhum: "[newbie] Attach to remote process"
- Previous message: Carl Daniel [VC++ MVP]: "Re: My local variable addresses are changing"
- Next in thread: Joe Delekto: "Re: Disassembly notation in 7.1 - can't see variable's address"
- Reply: Joe Delekto: "Re: Disassembly notation in 7.1 - can't see variable's address"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 13:32:21 -0800
This c++ line in MSVC++ .net 2003 7.1:
f(&d);
Generates this assembly:
00411C67 lea eax,[d]
00411C6A push eax
00411C6B call f (411159h)
00411C70 add esp,4
What's up with the "[d]"? I want to see the pointer value! How do I make
the pointer value appear? Please don't say "open your executable in
notepad."
Rudy
PS: I'm trying to debug a problem where the pointer value (&d) changes
during execution!
- Next message: Ragi Y. Burhum: "[newbie] Attach to remote process"
- Previous message: Carl Daniel [VC++ MVP]: "Re: My local variable addresses are changing"
- Next in thread: Joe Delekto: "Re: Disassembly notation in 7.1 - can't see variable's address"
- Reply: Joe Delekto: "Re: Disassembly notation in 7.1 - can't see variable's address"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|