Results 1 to 5 of 5

Thread: Problems with symbols in OllyDbg, please help

  1. #1
    dELTA
    Guest

    Problems with symbols in OllyDbg, please help

    I'm having trouble getting OllyDbg to display my MASM symbols correctly.

    At this location 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!
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2

    Problems with symbols in OllyDbg, please help

    dELTA: i look tomorrow, but in the meantime - question: why do you need for ?
    below CPU disassm you have the line from the source file where it shows "jmp another_label". if you want more you can export map file and then import using mapconv plugin (not so nice though)

  3. #3
    dELTA
    Guest

    Problems with symbols in OllyDbg, please help

    The problem with the single source line below the disasm window is that I don't think it gives any good overview at all. It is very inefficient and inconvenient to have to take my eyes off the disasm window after every single instruction step when tracing the program, just to see if the source line has changed, and what it is (most often only to see the exact same instruction that is listed in the disasm).

    I have tried to bring up the source window in parallel with the disasm window when single stepping, and this is quite ok, except for the very annoying fact that it does not scroll automatically when the execution point jumps outside of the current viewed area. This makes me having to scroll manually in the source all the time, which in equally inconvenient and impractical as the single source line, if not worse. I have already mailed Oleh about making the source window scroll to follow the execution point automatically, so I'm really hoping for the best with that one.

    Anyway, having the labels inside the actual code can be better and more efficient than viewing the source code in many situations too, so I'd really like to get all the memory adresses show their labels in this one too, and not just some of them.

    Anyway, very nice of you to take a look at it TBD, I'm looking forward to hear about what you find!

    Thanks!
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4

    Problems with symbols in OllyDbg, please help

    dELTA: i cannot find a way to include the labels in the disasm window. i think is how the OllyDbg uses the pdb info because the info is inside.

    did you stress Olly in the mail with this problem, or should i send him too ?

  5. #5
    dELTA
    Guest

    Problems with symbols in OllyDbg, please help

    I haven't mailed him about this yet, so you are very welcome to do so. You know him better too, so hopefully it will have a better effect if you mail him. Anyway, it should not be very hard for him to fix this I think, because the functionality to mark memory positions with labels is already fully in the program (it can be done manually), it just seems like he doesn't extract the labels from the pdb data right now, just as you say.

    Thanks!
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. Replies: 6
    Last Post: May 24th, 2010, 04:07
  2. OllyDbg API finding address of symbols
    By BuschnicK in forum OllyDbg Support Forums
    Replies: 6
    Last Post: April 8th, 2007, 03:16
  3. Softice & IDA symbols
    By omega_red in forum Tools of Our Trade (TOT) Messageboard
    Replies: 3
    Last Post: May 20th, 2004, 19:19
  4. symbols or implib
    By idanski in forum OllyDbg Support Forums
    Replies: 2
    Last Post: December 27th, 2003, 03:09
  5. how to use symbols just like windbg
    By a1rsupp1y in forum OllyDbg Support Forums
    Replies: 1
    Last Post: November 27th, 2003, 22:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •