Skip to main content
DeveloperMan
Associate III
Question

Static Code Analysis Tools For C

Hi everyone,

I need a tool for static code analysis to my project. I want to find out your preferences about these tools. C language was used on my project. So I need a tool according to this language. Also I tried to used to PC-Lint tool but I could not implement this.

Thank you.

Best Regards.

    This topic has been closed for replies.

    3 replies

    waclawek.jan
    Super User

    I know of no such to dedicated to embedded use. As they tend to choke on the specifics of embedded, you have to play along their rules if you desire to use them, painstakingly isolate the embedded and general-computing parts.

    I don't think it's worth the hassle. YMMV.

    JW

    MWagn.6
    Visitor II

    Hi,

    I know you asked the question a long time ago, but now I have the same one.

    What tool did you choose? did you get pc lint to work? i am getting desperate.

    best regards...

    Tesla DeLorean
    Guru

    I've historically used SciTools Understand C++, might have a different name now.

    For assembler I built my own cross referencing and static analysis tools.

    ​

    D​epends on your end goals, there are Lint and MISRA type tools. PC-Lint is supposed to integrate with Keil, so there's likely vendor support or training available there. Or find a contractor with the specific skillset you're seeking.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..