On Thu, Apr 10, 2014 at 12:23:07PM +0200, Jakub Jelinek wrote:
> To investigate runtime rather than compile time
> issues, please consider using temporarily -fsanitize=undefined and/or
> -fsanitize=address to look for undefined behavior in the packages
> you own.

Which is this in case anyone else was wondering:

  '-fsanitize=address'
     Enable AddressSanitizer, a fast memory error detector.  Memory
     access instructions will be instrumented to detect out-of-bounds
     and use-after-free bugs.  See
     <http://code.google.com/p/address-sanitizer/> for more details.
     The run-time behavior can be influenced using the 'ASAN_OPTIONS'
     environment variable; see
     <https://code.google.com/p/address-sanitizer/wiki/Flags#Run-time_flags>
     for a list of supported options.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to