|
From: Julian S. <js...@ac...> - 2013-01-07 09:07:53
|
> Say I have a huge program, which contain tons of DLLs, most of them not > under my responsibility and/or I can't fix the bugs in them. If I just want > to memcheck my DLL, and am willing to live with the assumption that memory > my DLL allocates is only read/written by my DLL, it seems reasonable to > only translate and handle my DLL, no? There have been proposals along these lines in the past, but it seems to be difficult to implement, and generally the perceived (at least by me) benefit vs added-extra-complexity ratio hasn't made it something worth chasing, compared to the other problems the system has. IIRC Dragos Tatulea has some patches that can be used to tell Memcheck "we're in trusted code now, don't check so much". See https://bugs.kde.org/show_bug.cgi?id=301269 J |