List of resources related to LD_PRELOAD, a mechanism for changing application behavior at run-time
Awesome LD_PRELOAD
This is a list of resources related to LD_PRELOAD, a mechanism for changing
application behavior at run-time. Libraries can override specified functions
with another, for example, making time(3) always return 0. This is often
useful for testing or modifying application behavior without source code
changes.
To use, set the environment variable
LD_PRELOAD=/full/path/to/your_shared_lib.so before launching your
application.
LD_PRELOAD works on Linux systems and some BSDs. macOS implements similar
functionality via DYLD_INSERT_LIBRARIES.
Libraries
angrymlocker - library for keeping corresponding process in memory