Dec 16, 2011

code-analyzer in Oracle Solaris Studio 12.3

Oracle has release Solaris Studio 12.3 .
The suite has a new tool called code-analyzer.

It can do static code analyze by adding a compile directive -xanalyze=code.

I've used it for a project, but failed at first, because I had also to give the option on the linking step, but afterwards the executeable get a directory
called <executeablename>.analyze and here is a screenshot.


I had to mask a lot of code, because it's proprietary.
But the tool finds errors, although the code is running since years on different operating systems.