Disassembly notation in 7.1 - can't see variable's address

From: Rudy Ray Moore (rudymoore_at_hotmail.com)
Date: 03/23/04


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!



Relevant Pages

  • Re: pointer address is physical or virtual.
    ... begins its execution and exits its execution.) ... void afun ... Pointer: 0x804844e ... physicall one. ...
    (comp.os.linux.development.system)
  • Re: pointer address is physical or virtual.
    ... begins its execution and exits its execution.) ... void afun ... Pointer: 0x804844e ... physicall one. ...
    (comp.os.linux.development.system)
  • Re: Passing execution to a memory address
    ... execution to this and execute the file. ... You can't assign a void pointer to a function ... Try to use the system function. ... or would the programmer need to put in some assembly code ...
    (comp.lang.c)
  • Re: __builtins__ magic behavior
    ... dictionary to create a weak form of restricted execution" not only ... globals() or with a copy of globals. ... The exec statement, when given a string source, compiles it and eventually calls PyEval_EvalCodeEx, which creates a new frame using PyFrame_New and finally executes it. ... A frame object contains a pointer to the previous frame, the code to be executed, a pointer to the current globals *and* a separate pointer to the current builtins. ...
    (comp.lang.python)
  • Re: Passing execution to a memory address
    ... execution to this and execute the file. ... You can't assign a void pointer to a function ... Try to use the system function. ...
    (comp.lang.c)