News for hackers. Stuff that matters.
Re:Any sufficiently advanced uninstaller is indistinguishabl... by pests on Thursday September 28, 2023 @03:08AM (#37686335)
LD_PRELOAD is handled entirely by ld.so and includeed inside your ELF by the linker. It not only handles that but also all dynamic linking inside your program.

By writing a custom linker you can easily incercept all dynamic linking done at runtime and provide whatever you want to the program.

gcc -Wl,-dynamic-linker,/path/to/my/linker myprogram.c -o myprogram

There are no comments on this comment yet.