https://bugs.kde.org/show_bug.cgi?id=431746

--- Comment #14 from Milian Wolff <m...@milianw.de> ---
ok, the problem is that rustc links against jemalloc statically:

nm -aD $(rustup which rustc) | grep malloc
0000000000006ea0 T malloc
0000000000253020 D __malloc_hook
000000000000caa0 T malloc_usable_size

That means LD_PRELOAD won't work for this use case. We'd have to change our
injection code somehow, to allow using that instead. Though even then I'm
unsure if it's possible to apply our logic there - static linking simply
defeats the "attack surface" that heaptrack relies on to intercept the calls to
malloc and friends...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to