News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sebastian Bergmann's Blog:
Using CLANG/scan-build for Static Analysis of the PHP Interpreter
December 16, 2011 @ 09:48:07

In a new post to his blog Sebastian Bergmann takes a quick look at using a static analyzer, clang and scan-build, to analyze the PHP interpreter (specifically during the compile process).

I have been tinkering with CLANG's static analyzer lately. This post summarizes how I installed LLVM and CLANG and performed the analysis of a build of the PHP interpreter.

He includes all the commands (unix-based) to get the clang tools/libraries installed in the correct places as well as what to add to your $PATH to get the "scan-build" command to work with the make and make install parts of the PHP compile process.

0 comments voice your opinion now!
clang analyze build compile static install


blog comments powered by Disqus

Similar Posts

WorkingSoftware.com.au: Configuring PHP4 and PHP5 to run concurrently on FreeBSD

Bob Majdak's Blog: Compile That PHP-GTK2, and More

Zend Developer Zone: PHP on i/5OS thanks to Zend and IBM

DZone.com: Creating a virtual server with Vagrant: a practical walkthrough

Builderau.com.au: Cache PHP scripts with APC module


Community Events





Don't see your event here?
Let us know!


tool framework release podcast composer symfony voicesoftheelephpant community series introduction laravel language version list conference security interview artisanfiles opinion library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework