• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 610
  • Last Modified:

Good Open source C/C++ Static Analysis Code Profiling tools

are there any Open Source C/C++ Static Analysis Profiling tools a
avaliable on Linux Platforms
0
tittu
Asked:
tittu
  • 2
  • 2
1 Solution
 
LeeeRussellCommented:
This Wikipedia article lists a set of static analysis tools:

http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis#C

I've used cppcheck before and it does a reasonable job of spotting errors and potential memory leaks.
0
 
ssnkumarCommented:
valgrind is the best available open source profiling tool.
0
 
tittuAuthor Commented:
I meant Static analysis profilers which must instrument on the .o or object files and not on the
exe files.

The requirement is to test and profile the code which may running on different target platforms.

where i may not have the exe file generated or such target enviroment.
0
 
ssnkumarCommented:
Tools based on Lint do static profiling.
But, they don't use .o or .exe. They will directly work on the source code.
0
 
LeeeRussellCommented:
Is this the kind of thing you're after?

http://valgrind.org/

This is a dynamic profiler, but seems closer to what you actually want?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now