Jaroslav Reznik (jrez...@redhat.com) said: 
> = Features/MEMSTOMP =
> https://fedoraproject.org/wiki/Features/MEMSTOMP
> 
> Feature owner(s): Jeff Law <l...@redhat.com>
> 
> Include the MEMSTOMP DSOs in Fedora 19 to enable developers to more quickly 
> detect certain library calls which result in undefined behaviour due to 
> overlapping memory arguments.
> 
> == Detailed description ==
> MEMSTOMP is a DSO which can be preloaded by an application to detect calls to 
> library routines with overlapping memory arguments. Specifically MEMSTOMP 
> will 
> detect calls to the following routines with overalapping memory arguments:
> 
> [w]memcpy, str[n]cat, wcs[n]cat, str[n]cpy, wcs[n]cpy, [w]mempcpy, memccpy, 
> stp[n]cpy
> 
> While valgrind can detect these cases, using a DSO such as MEMSTOMP can be 
> significantly faster.
> 
> The MEMSTOMP code utilizes GPLV2+ and LGPL3 code. The GPLV2+ code is limited 
> to the backtrace code which is not thread safe and may need to be 
> disabled/rewritten. 

I assume this could be done as a system-wide LD_PRELOAD if desired?

Bill
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to