Makefile.am: Add clang static analysis support
authorBhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
Fri, 15 Jul 2016 18:43:24 +0000 (19:43 +0100)
committerBen Pfaff <blp@ovn.org>
Tue, 26 Jul 2016 18:10:38 +0000 (11:10 -0700)
commit30b79363b9675a9ff8e08da7f892fe1ca19bd741
tree370188f50fcf62952582a0ab33a3d454a057d12e
parentdde5ea7bd6641f1d81308a85a15d6d88a0ad4d6c
Makefile.am: Add clang static analysis support

Clang Static Analyzer is a source code analysis tool to find bugs. This
patch adds make target to trigger static analysis using below commands.

./boot.sh
For Clang: ./configure CC=clang --with-dpdk
For GCC: ./configure CC=gcc --with-dpdk CFLAGS="-std=gnu99"
make clang-analyze

Run 'scan-view <results dir>' command to examine the bug report.

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
Acked-By: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
INSTALL.md
Makefile.am