I used to do tons with LD_PRELOAD
I used to do tons with LD_PRELOAD
Posted Feb 13, 2024 20:53 UTC (Tue) by davecb (subscriber, #1574)Parent article: A look at dynamic linking
We used it to create programs like a low-overhead strace, a performance measurement tool that used unmodified binaries, and, as a demo, a Linux library profiler, https://github.com/davecb/libprof
Posted Feb 21, 2024 12:22 UTC (Wed)
by nix (subscriber, #2304)
[Link]
(In practice this excellent feature is rarely used, alas.
I used to do tons with LD_PRELOAD