[Bf-committers] Debugging with GCC's Address Sanitizer
lukas.toenne at gmail.com
Fri Apr 26 14:31:17 CEST 2013
"Pros: Can use a breakpoint to investigate the point when error happens"
I'd like to just point out that you can do that with valgrind + gdb too:
This has proved valuable to me on more than one occasion. Maybe the new gcc
__asan_report_error is still a bit easier to use though.
On Fri, Apr 26, 2013 at 12:44 PM, Campbell Barton <ideasman42 at gmail.com>wrote:
> Just wrote down some info about how to use address sanitizer (now
> included with GCC),
> since I've found it useful recently and how to use with breakpoints
> isn't so obvious.
> Others who run into memory bugs once in a while may find it handy.
> - Campbell
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers