Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Linker-related Environment Points

LD_PRELOAD

This env variable can be set to specify a library path that should be dynamically linked before any other libraries. This has the effect of allowing functions and symbols from the preloaded library to override the ones from the other libraries that are linked afterwards.

LD_SHOW_AUXV

This env variable tells the program loader to display the program’s auxiliary vector during runtime. The auxiliary vector is information that is placed on the program’s stack (by the kernel’s ELF loading routine), with information that is passed to the dynamic linker with certain information about the program.