From: Tim Deegan Subject: Re: NULL pointers and PV guests. Date: Thu, 26 Mar 2015 16:31:24 +0000 Message-ID: <20150326163124.GL6519@deinos.phlegethon.org> References: <20150326162319.GK6519@deinos.phlegethon.org> <55143450.5000608@bitdefender.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <55143450.5000608@bitdefender.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Razvan Cojocaru Cc: Keir Fraser , Andrew Cooper , xen-devel@lists.xen.org, David Vrabel , Jan Beulich , Boris Ostrovsky , bouyer@antioche.eu.org List-Id: xen-devel@lists.xenproject.org At 18:31 +0200 on 26 Mar (1427394672), Razvan Cojocaru wrote: > On 03/26/2015 06:23 PM, Tim Deegan wrote: > > Idea 4: build-time support, with something like a clang analysis > > pass or coccinelle, for finding uninitialised function pointers, > > or for automatically inserting checks on indirect jumps. > > Anyone know of existing tools that could help here? > > Scan-build is quite nice: > > http://clang-analyzer.llvm.org/scan-build.html Yep - I have run Xen through scan-build once before, but both Xen and clang have changed a fair amount since then. :) In my imaginary copious free time it would be nice to get that build lint-free... Tim.