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

Posted on 2011-04-19
Last Modified: 2012-05-11
are there any Open Source C/C++ Static Analysis Profiling tools a
avaliable on Linux Platforms
Question by:tittu
    LVL 6

    Expert Comment

    This Wikipedia article lists a set of static analysis tools:

    I've used cppcheck before and it does a reasonable job of spotting errors and potential memory leaks.
    LVL 8

    Expert Comment

    valgrind is the best available open source profiling tool.

    Author Comment

    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.
    LVL 8

    Accepted Solution

    Tools based on Lint do static profiling.
    But, they don't use .o or .exe. They will directly work on the source code.
    LVL 6

    Expert Comment

    Is this the kind of thing you're after?

    This is a dynamic profiler, but seems closer to what you actually want?

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
    Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
    The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
    The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now