2 Replies Latest reply on Aug 3, 2012 1:17 PM by ken mcfadden

    Can I get the code-analyzer to show me static analysis of shared libraries

    ken mcfadden
      My code base has a collection of shared libraries and binaries.

      I am currently recompiling all of the libraries and binaries with "-xanalyze=code" for all of the *.o files and also at the link command.

      When I use the code-analyzer tool it appears that it is only displaying the static analysis of the .o files that are linked directly into the binary. It appears that it is not displaying any of the static analysis of the .o files in my libraries (*.so files).

      Is there a way to make code-analyzer see the static analysis in my shared library files easily?

      Or do I have to do something more difficult like build statically linked versions of my libraries (*.a files) and then link all of those static libraries into my executables?

      Edited by: kenmcfadden on Aug 2, 2012 12:41 PM