Results 1 to 6 of 6

Thread: OllyDbg, usage hints

  1. #1
    IcyDee
    Guest

    OllyDbg, usage hints

    OllyDbg looks to be a very useful tool, with some excellent features that SoftIce does not have. However, I am having great difficulty doing the simplest of things. For example, how can I set a breakpoint on an API, for example MessageBoxA. All I can find in the help file is to use F2, but this only works if I am displaying the code in the disassembler window. It is all so counter intuitive!
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    snaker
    Guest

    Olly help

    Right click on the debugger text
    Search For/Name(label)
    find wat you want

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

  3. #3
    The_Philosopher
    Guest
    Hi

    Go to Olly's homepage and there you will find help page with all shortcuts program have. Print it and you will know how.

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

  4. #4
    Lord_Soth
    Guest
    WOW!!!

    I wanted to ask just THAT!!
    Who's reading my mind ??
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  5. #5
    The Svin
    Guest
    For example, how can I set a breakpoint on an API, for example MessageBoxA
    If you mean breakpoint on execution MessageBoxA in the programm you are loaded into Ollydbg - you have to find all calls to it and set breakpoints in found places (or on some of them)
    OllyDbg can not do what you can do in SoftIce - I mean to write just once bpx MessageBoxA and be sure that all calls to the API func will be intercepted.
    If you mean to set system wide bp on MessageBoxA - that is not possible at all with OllyDbg.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  6. #6
    Lost in Lala Land peterg70's Avatar
    Join Date
    Oct 2001
    Location
    Down Under
    Posts
    195
    With Ollydbg you can put a Break point on MessageBoxA that is reference from a program quite easily.

    Instead of finding all the reference in the program just bring up the modules loaded (i.e. all the DLL etc that are referenced) then choose names on that DLL and it will list all referenced procedures. Then you can put a break point or a conditional break point on it.

    I.e. Break if EAX="Hello World".

    Note if the DLL is not loaded when you start ollydbg. it will appear once the program is running. I.e. If a loadlibrary is called it will then appear in the listing.

    You can also get ollydbg to break on DLL load and Unload. More and more options

    peterg

Similar Threads

  1. W32Dasm FIX CPU usage
    By Lekara in forum OllyDbg Support Forums
    Replies: 2
    Last Post: September 22nd, 2004, 01:38
  2. Can any guru give me some hints on ClearCase?
    By Daemon in forum Off Topic
    Replies: 4
    Last Post: February 2nd, 2004, 16:37
  3. Need some hints for a wkcrypt target
    By mueller5321 in forum Advanced Reversing and Programming
    Replies: 8
    Last Post: May 9th, 2002, 19:11
  4. lost on unpacking, need hints
    By UnpAckEr_SplAj in forum Advanced Reversing and Programming
    Replies: 2
    Last Post: July 11th, 2001, 16:30
  5. Task 4 CRC hints
    By Kayaker in forum Mini Project Area
    Replies: 2
    Last Post: November 30th, 2000, 00:31

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
  •