diff options
author | Martin Willi <martin@revosec.ch> | 2013-04-02 13:37:06 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-05-06 15:15:24 +0200 |
commit | 17211b6b9ae3330c97691dd63ce0d54705de85b3 (patch) | |
tree | ca4f828caaa3b42457298f5df39e03795fb9cb48 /scripts/malloc_speed.c | |
parent | e9b3bd54346d78343f74878c799dd11fd2e2276a (diff) | |
download | strongswan-17211b6b9ae3330c97691dd63ce0d54705de85b3.tar.bz2 strongswan-17211b6b9ae3330c97691dd63ce0d54705de85b3.tar.xz |
leak-detective: override malloc functions instead of using deprecated hooks
malloc hooks have become deprecated, and their use has always been problematic,
especially in multi-threaded applications. Replace the functionality by
overriding all malloc functions and query the system allocator functions
using dlsym() with RTLD_NEXT.
Diffstat (limited to 'scripts/malloc_speed.c')
0 files changed, 0 insertions, 0 deletions