PDA

View Full Version : how to trace into the main module only


Menelao
06-21-2005, 09:15 AM
Hi,
Is it possible to trace into a function but only while the code belongs to the main module and when a call to an external function is made step over that one? I don't know if this make any sence.
Thanks

blabberer
06-21-2005, 09:32 AM
if you are talking about tracing with ctrl+f11
ollydbg natively supports the idea

options ---> debuging options ---> trace ---> check mark always trace over system dlls

all dlls thats are in in %windir%\system or system32 will be traced over in one step
if you want to trace over custom dlls
view-->executable modules --> right click--> mark as system dll

check mark always trace over string commands
will do all the rep movsb,movsw,movsd,stos blah in one go

no need for any scripts

1bitshort
06-21-2005, 11:30 AM
> I don't know if this make any sence.
not really, but maybe press F8 (Step Over) when you get to a call/jmp that goes to an external function

Menelao
06-24-2005, 05:54 AM
oh me anon: thanks man, that's what i was looking for.