Hi, I can offer two more possible approaches:
1. Use posix_memalign to obtain free()'able memory for calloc without dlsym. Of course, when you want to override posix_memalign (and all of its synonyms) as well, you're again in the same trap. 2. Do not override malloc&co at all, but rather use malloc hooks (see "man malloc_hooks"). Hope that helps, Alexander _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
