From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: NULL pointers and PV guests. Date: Thu, 26 Mar 2015 18:31:12 +0200 Message-ID: <55143450.5000608@bitdefender.com> References: <20150326162319.GK6519@deinos.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150326162319.GK6519@deinos.phlegethon.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tim Deegan , xen-devel@lists.xen.org Cc: Keir Fraser , Andrew Cooper , David Vrabel , Jan Beulich , Boris Ostrovsky , bouyer@antioche.eu.org List-Id: xen-devel@lists.xenproject.org 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 HTH, Razvan