[cfe-dev] stack overflow detection?

John Criswell criswell at illinois.edu
Tue Sep 17 15:03:54 PDT 2013


On 9/17/13 4:57 PM, Greg Fitzgerald wrote:
> Does clang offer any tools for detecting when a program is about to
> segfault due to stack overflow?

If you want dynamic detection, then Address Sanitizer (which is built 
into Clang) or SAFECode (which has its own version of Clang into which 
it is integrated) will do the trick.

If you're asking about the Clang static analyzer, then I do not know.

-- John T.

>
> Thanks,
> Greg
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list