Results 1 to 3 of 3

Thread: DllMain breakpoint

  1. #1

    DllMain breakpoint

    hi,

    how can i set a breakpoint (using olly) on the first instruction of a DllMain ?

    the problem is, that LoadLibrary will call immediately the DllMain after the dll is mapped in the callers addressspace

    is there a trick to accomplish that, or should i step through the whole LoadLibrary-function?

  2. #2

    YES is possible

    Put a mark in DEBUGGING OPTIONS-EVENTS- stop in module load- and when stop and look the name of dll you want in VIEW-EXECUTABLE, right click in this line and go to FOLLOW ENTRY with this you found the entry point, and you can put a BP o HE in Entry Point.

    Ricardo Narvaja

  3. #3
    damn, i love ollydbg
    thxalot

Similar Threads

  1. How to put breakpoint on NtCreateFile
    By fundoo in forum OllyDbg Support Forums
    Replies: 4
    Last Post: September 9th, 2009, 08:11
  2. DllMain and its uncovered possibilites
    By j00ru vx tech blog in forum Blogs Forum
    Replies: 0
    Last Post: August 30th, 2009, 18:10
  3. What's log breakpoint & how to use it?
    By achan in forum OllyDbg Support Forums
    Replies: 1
    Last Post: August 3rd, 2005, 11:06
  4. breakpoint a var ?
    By Anonymous in forum OllyDbg Support Forums
    Replies: 2
    Last Post: July 16th, 2003, 01:01
  5. breakpoint please help
    By Anonymous in forum OllyDbg Support Forums
    Replies: 1
    Last Post: July 14th, 2003, 13:10

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
  •