Quantcast
Viewing all articles
Browse latest Browse all 10

Answer by JulienGenoud for What is the LD_PRELOAD trick?

To export mylib.so to env:

$ export LD_PRELOAD=/path/mylib.so$ ./mybin

To disable it:

$ unset LD_PRELOAD

Viewing all articles
Browse latest Browse all 10

Trending Articles