I've looked at tools like Clang, but so far have not been able to get it to report issues on a wifi wiced studio application build. It's method of trying to attach itself to the build is to override the GCC and/or CC environment variables but those aren't working for my build yet.
Thoughts? Anyone ever get a tool to work ?
You may try with some Static code analyzer provided by Eclipse in the form of plugin. (For example, Find bugs is one such plugin which is supported with Eclipse Luna).