CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    19

    C++ Code Analyzing tools for Visual Studio .NET 2003

    I am just throwing this out there hoping someone can help me out...

    What I am looking for is an analysis tool that will let me analyze a quite large C++ project written for Visual C++ .NET 2003

    I have been removing alot of functionality from the program( ie stripping it down), and the main thing I need is for it to tell me what functions are no longer being called anywhere in the aplication

    If anyone has any knowlege of a tool that would do this for me I would greatly appreciate it...

  2. #2
    Join Date
    Jun 2002
    Posts
    395
    If you enable function-level linking, any functions that aren't used will not be included in the final exe, so you don't have to worry about a bloated exe.

    You can generate a map file by setting the appropriate linker options, which will tell you every function that *is* used. If you don't find a particular function in the map file, you can delete it from your code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured