[vtk-developers] clang undefined behaviour sanitizer overview

Sean McBride sean at rogue-research.com
Fri Mar 1 17:46:24 EST 2013


On Thu, 28 Feb 2013 14:38:18 -0500, Sean McBride said:

>So at the VTK hack-a-thon yesterday I showed some of you clang's
>'undefined behaviour sanitizer' (abbreviated 'ubsan').

I forgot to mention something important: unlike valgrid, with introduces a massive slow down, ubsan is quite fast, and useable for everyday debug builds.

As of tonight, I'm turning on "-fsanitize=unreachable,return,vla-bound" on Rogue7's debug build.  These checks currently find no problems, so should not upset our newfound greenness. :)

-fsanitize=bool found only this:
<http://review.source.kitware.com/10082>

So we can enable it soon...

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list