viralcode / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
1 stars 0 forks source link

mach_override may conflict with that in the client programs #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Chrome uses mach_override framework, and its version differs slightly from that 
we are using. At the moment linking ASan with Chrome tests causes them to fail, 
because we're trying to call instrumented versions of mach_override_ptr(), 
allocateBranchIsland() etc. from the ASan runtime. Even if we don't instrument 
those functions, we still get the wrong implementation of mach_override_ptr, 
which may not cope with some of the functions we need to override.

mach_override is written in C, thus we can't use namespaces.

Original issue reported on code.google.com by ramosian.glider@gmail.com on 26 Dec 2011 at 5:01

GoogleCodeExporter commented 9 years ago
Fixed in r147303.

Original comment by ramosian.glider@gmail.com on 28 Dec 2011 at 11:35