Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In computer
programming, DLL injection is a technique used to run code within the
address space of another process by forcing it to load a dynamic-link
library. DLL injection is often used by third-party developers to
influence the behavior of a program in a way its authors did not
anticipate or intend. For example, the injected code could trap system
function calls, or read the contents of password textboxes, which cannot
be done the usual way. On Unix-like operating systems with the dynamic
linker based on ld.so and ld-linux.so, arbitrary libraries can be linked
to a new process by giving the library's pathname in the LD PRELOAD
environment variable, that can be set globally or individually for a
single process.