dELTA
December 16th, 2002, 09:01
I'm having trouble getting OllyDbg to display my MASM symbols correctly. 
At this location ("http://board.win32asmcommunity.net/attachment.php?s=&postid=71248") I have uploaded a very simple example program that demonstrates this problem (a RadASM project file is also included, where all compile/link switches can be seen).
The main procedure looks like this:
<pre>
main proc
jmp example_label
nop
nop
example_label:
invoke MessageBox, 0, ADDR mbMessageText, ADDR mbTitleText, MB_OK
jmp another_label
nop
nop
another_label:
ret
main endp
</pre>
What I want is to get the labels "example_label" and
"another_label" to be displayed in the debugger,
but it refuses to do this. Some other labels are
displayed though, e.g. the "main" symbol, and the
"mbMessageText" and "mbTitleText" symbols in the
data section. Does anyone have any idea about how
to get the debugger to display the two other labels
too?
It would be really nice if someone would take a look and explain if I'm doing something wrong (or confirm that you get the same problem in OllyDbg).
Thanks a lot!

At this location ("http://board.win32asmcommunity.net/attachment.php?s=&postid=71248") I have uploaded a very simple example program that demonstrates this problem (a RadASM project file is also included, where all compile/link switches can be seen).
The main procedure looks like this:
<pre>
main proc
jmp example_label
nop
nop
example_label:
invoke MessageBox, 0, ADDR mbMessageText, ADDR mbTitleText, MB_OK
jmp another_label
nop
nop
another_label:
ret
main endp
</pre>
What I want is to get the labels "example_label" and
"another_label" to be displayed in the debugger,
but it refuses to do this. Some other labels are
displayed though, e.g. the "main" symbol, and the
"mbMessageText" and "mbTitleText" symbols in the
data section. Does anyone have any idea about how
to get the debugger to display the two other labels
too?
It would be really nice if someone would take a look and explain if I'm doing something wrong (or confirm that you get the same problem in OllyDbg).
Thanks a lot!