On Tue, Feb 24, 2009 at 10:32:07PM +0100, Roland Mainz wrote:
> BTW: Jenny came up with a simple solution: We can do _both_:
> 1. We use the libast allocator as normal (e.g. |libast::_ast_malloc()|)
>     and
> 2. Add a small source which contains |malloc()|&co. (and calls the
> matching libast functions (e.g. |libast::_ast_malloc()|)) and matching
> (interposing) entries in libast's "mapfile-vers" (note that we AFAIK
> cannot use mapfile redirects together with interposing - to keep it
> simple we use a simple C source to do the "redirect"). 

Sure, that will do.  Internally you call the _ast_ versions, but you
also have aliases by the normal names.

Perfect.

Nico
-- 

Reply via email to