Log in

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


Menelao
June 21st, 2005, 08:15
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
June 21st, 2005, 08:32
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
June 21st, 2005, 10:30
> 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
June 24th, 2005, 04:54
oh me anon: thanks man, that's what i was looking for.