This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
malloc hooks
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: nd at arm dot com
- Date: Thu, 08 Jun 2017 14:39:55 +0100
- Subject: malloc hooks
- Authentication-results: sourceware.org; auth=none
- Authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com;
- Nodisclaimer: True
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
there is some ifdef magic in malloc/hooks.c to
only define malloc_get_state etc if it's needed
for abi compat:
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_25)
but there is tst-mallocstate.c which uses these
functions unconditionally.
i wonder how that is supposed to work for new
targets (e.g. aarch64 ilp32)