Results 1 to 7 of 7

Thread: How can I debug MS VC++ applications?

  1. #1
    Vortex
    Guest

    How can I debug MS VC++ applications?

    How can I debug my VC++ apps? Which commanline params or
    switches I need to add to cl.exe and link.exe?

    Regards,

    Vortex
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  2. #2
    Anonymous
    Guest

    How can I debug MS VC++ applications?

    try
    cl /Gi /c ....
    link /debug

    make sure .pdb thing is in same directory as the app

    servil
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  3. #3
    Anonymous
    Guest

    How can I debug MS VC++ applications?

    sorry should be

    cl /Zi /c ...

    svl
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4
    Anonymous
    Guest

    How can I debug MS VC++ applications?

    Thanks for the help Servil,but the swicthes
    didn't work for me.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  5. #5
    Anonymous
    Guest

    How can I debug MS VC++ applications?

    Run cl.exe and link.exe without the params and you will have complete list of params and what they do (at leats i hope )
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  6. #6
    Anonymous
    Guest

    How can I debug MS VC++ applications?

    I thought it was "cl /?" for list of params?
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  7. #7
    Anonymous
    Guest

    How can I debug MS VC++ applications?

    I run this cl.exe and i can only say that you will have to run help. cl.exe have this options, but i didn't try it or test it (you can do this):

    - OUTPUT FILES -
    /Fd[file] name .PDB file
    /Fm[file] name map file
    ...
    - LANGUAGE -
    /Zi enable debugging information
    ...
    - MISCELLANEOUS -
    /Yd put debug info in every .OBJ
    ...
    - LINKING -
    /MD link with MSVCRT.LIB /MDd link with MSVCRTD.LIB debug lib
    /ML link with LIBC.LIB /MLd link with LIBCD.LIB debug lib
    /MT link with LIBCMT.LIB /MTd link with LIBCMTD.LIB debug lib
    /LD Create .DLL /F<num> set stack size
    /LDd Create .DLL debug libary /link [linker options and libraries]

    For link.exe is next 2 switches:

    /DEBUG
    /DEBUGTYPE:COFF
    /SUBSYSTEM:WINDOWS

    This 3 for link i use in masm.
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. Cracking old flexlm protected IRIX applications
    By bkd in forum Advanced Reversing and Programming
    Replies: 0
    Last Post: July 14th, 2010, 02:15
  2. Does Olly support Delphi applications?
    By JackTripper in forum OllyDbg Support Forums
    Replies: 17
    Last Post: July 5th, 2007, 06:26
  3. Replies: 2
    Last Post: January 28th, 2003, 14:54
  4. APIHooking and ConsoleMode applications
    By foxthree in forum Advanced Reversing and Programming
    Replies: 2
    Last Post: July 1st, 2002, 20:34
  5. Reversing win16 applications???
    By BobRock in forum Malware Analysis and Unpacking Forum
    Replies: 4
    Last Post: June 22nd, 2002, 05:19

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
  •