On Wed, Nov 14, 2012 at 04:08:06PM +0100, Rainer Orth wrote:
> Hi Alex,
>
> > most certainly the functionality of asan is not intact.
> > The error messages denote that mach_override couldn't parse some of
> > the function prologues, which means some of ASan interceptors just
> > won't work.
> > In order to fix this you need to change the DEBUG definition in
> > mach_override.c, look at the bytes being parsed and fix the
> > instruction table in mach_override.c
>
> is there some guideline how to port asan to a new OS or CPU? That would
> certainly be easier than figuring things out on your own one by one. I
> guess several target and os port maintainers would want to do so in GCC.
>
> Thanks.
> Rainer
I am confused on the strategy here. Will the FSF gcc developers be
prohibiting
the addition of darwin support for libsanitizer until all issues in its
operation
are resolved? It seems like a chicken and egg situation. I think this should be
considered an experimental feature and exposed to as many developers as possible
so we can get some help on resolving these issues in mach_override.c. Making it
unnecessarily difficult to build this feature doesn't help with that project.
Jack
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University