windows - How to break code on a click event? -
i have application need disassemble. don't have clue on how stop running code on desired location, decided best guess breaking upon button click. how capture button clicks? know has windows functions such callnexthookex
. i'm using ida pro disassembly.
ida pro used disassembler, static analysis purposes. i'd suggest use ollydbg (or other debugger, if want to) because suit better debugging purposes.
i don't know if can set breakpoint on api that.
but can this:
- load application in olly, or attach it.
- generate event clicking on anything.
- stop application ollydbg(f12)
- use c(k)all stack(alt+k)
- you see few calls functions, 1 of them doing need. may need go upper calls see whole loop. try 1 is. there loop in 1 of them.that loop have conditional jumps , generate events, load forms, fill app etc. , when place breakpoint on right jump there, stop @ each mouse click.
when i'm debugging apps, of times find myself on breakpoint this, , see beginning how application filling empty form(it takes long.)
Comments
Post a Comment