Re: Proposed F19 Feature: MEMSTOMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jaroslav Reznik (jreznik@xxxxxxxxxx) said: 
> = Features/MEMSTOMP =
> https://fedoraproject.org/wiki/Features/MEMSTOMP
> 
> Feature owner(s): Jeff Law <law@xxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux