Re: Getting the trace of program flow during execution without putting any debug statements

Tech-Archive recommends: Fix windows errors by optimizing your registry




I have a exe and source files ,which inturn invokes fuctions in dlls

My requirement is when I run the exe
I should get a listing of all the functions that were visited during
execution in the same
order that they were visited including the dll functions.


eg:
main() -> calls f1
f1() -> calls f3
f3() -> returns to f1()
f1() -> returns to main
main()


Take a look at 'wt' command in WinDbg, it should be able
to produce such a list:
http://www.microsoft.com/whdc/ddk/debugging/default.mspx

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]



.



Relevant Pages

  • Re: How do they do that?
    ... For example, I need a script. ... execution engine. ... Now, if you need to create or modify this script during the install process, you would ... >How do some setup merge script files,, with the exe ...
    (microsoft.public.vc.mfc)
  • Re: Cant download exes from my own site
    ... How would a user run an .exe on a website? ... <jcochran at naplesgov dot com (Jeff Cochran)> ... > system down to prevent malicious execution. ... >>> You may want to review your permissions, both in IIS and in the NTFS ...
    (microsoft.public.inetserver.iis.security)
  • Re: Using ZwCreateFile to Launch embedded exe
    ... If you were just blocking execution, it would be acceptable, but you ... Anton Bassov ... then another .exe will execute in it's place. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Loading of .NET executable
    ... > Can someone refer to me a good online resourec about how a .NET exe ... > gets loaded into memory and executed once I dbl-click the executable ... Basically the EXE has has a stub that runs and passes ... .NET then grabs your EXE and starts execution of the UL via ...
    (microsoft.public.dotnet.framework.clr)
  • Re: move .exe
    ... You can copy the currently running file, ... >> folder and continues execution from the new location? ... The .bat file repeatedly tries to copy the .exe to the new location ...
    (microsoft.public.vc.mfc)