[PATCh][Revisedx2] Fix PR55521 by switching libsanitizer from mach_overrideto mac interpose functions on darwin

Alexander Potapenko glider@google.com
Tue Dec 4 02:34:00 GMT 2012


Jack,

Note that MAC_INTERPOSE_FUNCTIONS is always defined in interception.h
to either 0 or 1.
I'm going to keep "#if MAC_INTERPOSE_FUNCTIONS" (adding "&&
!defined(MISSING_BLOCKS_SUPPORT)
" where appropriate) in libsanitizer.

On Mon, Dec 3, 2012 at 11:17 AM, Mike Stump <mikestump@comcast.net> wrote:
> On Dec 3, 2012, at 8:02 AM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
>>   The attached patch eliminates PR 55521/sanitizer by switching libasan on darwin
>> from using mach_override to mac function interposition
>
> So, I'm thinking the sanitizer people will just review and approve it, even though it says darwin and is heavily darwin specific…  It's ok by me.



-- 
Alexander Potapenko
Software Engineer
Google Moscow



More information about the Gcc-patches mailing list