Results 1 to 3 of 3

Thread: bit of a simple one here

  1. #1
    GES1234
    Guest

    Cool bit of a simple one here

    Hi all

    Within Ollydbg I am having difficulty finding the part of assembly code i want to add a break point in. What i want to to do is put a break point in the very first instruction the program goes in to after a click of a certain button but i cannot find where this is in the code, is it possble to set an instant breakpoint on submission of any operation.

    I've only been doing simple key gens in the past and been able to manually set my breakpoint.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    susanalic
    Guest
    Read Chapter 3, "Windows and Messages", of Charles Petzold's Programming Windows. Once you understand how windows messages work, it's very easy to find the procedure that is called when pressing a button. There must be some tutorials on this matter.

    Another possibility is to pause Olly after clicking the button and look at the call stack. The call after the messages loop (DispatchMessage, Sendmessage APIs, etc) will be what you are looking for.

    You have not said what language your program is coded on, though; I'm supposing c/c++
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  3. #3
    If you want to see it visually, I recommend the Lena tutorials.. They have a number of video demonstrations of reversing. Again, in the time it took to write your post you would have identified a large number of examples on your nearest and dearest search engine.

Similar Threads

  1. A simple question
    By Ivan in forum The Newbie Forum
    Replies: 16
    Last Post: May 23rd, 2007, 15:30
  2. Need help with very simple ASM program
    By mail1459508 in forum The Newbie Forum
    Replies: 6
    Last Post: March 31st, 2007, 16:59
  3. simple IDA question
    By akimp3 in forum The Newbie Forum
    Replies: 12
    Last Post: August 31st, 2005, 08:11
  4. simple rsa
    By Donan in forum RCE Cryptographics
    Replies: 4
    Last Post: February 12th, 2004, 18:37
  5. What is going on with this simple cmp ?
    By __DuDu__ in forum Advanced Reversing and Programming
    Replies: 2
    Last Post: June 3rd, 2001, 23:05

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
  •