|
From: Paul F. <pj...@wa...> - 2020-02-10 20:36:00
|
Hi The main problem that I have at the moment is that readelf and co aren't redirecting any allocation functions like malloc and free. I cranked up the tracing (4x -v and 4x -d, --trace=symtab=yes). For libc I see (this is just a tiny extract) ------ start ELF OBJECT ------------------------------------------------------- ------ name = /lib/libc.so.7 --48619-- object doesn't have a symbol table --- Reading (ELF, standard) dynamic symbol table (3158 entries) --- raw symbol [ 971]: WEA FUN : svma 0x000011e990, sz 3662 malloc rec(t) [ 971]: val 0x0004ead990, sz 3662 malloc And for libc++ I see ------ start ELF OBJECT ------------------------------------------------------- ------ name = /usr/home/paulf/tools/clang/lib/libc++.so.1.0 --- Reading (ELF, standard) symbol table (3163 entries) --- raw symbol [1179]: WEA FUN : svma 0x00000a7400, sz 116 _Znwm rec(t) [1179]: val 0x0004cfa400, sz 116 _Znwm I'll try the same thing on Linux to try to see where FreeBSD is losing the plot Can anyone suggest where to look for redirection problems? A+ Paul |