Overwrite functions with LD_PRELOAD
The LD_PRELOAD environment variable allows to inject a library which is loaded before the program libraries. This means that it is possible to redirect the execution flow to an injected function via an own library object.
Leave a Reply
You must be logged in to post a comment.