While reading shared library and PLT (Procedure Linkage Table) I came under a term Trampolines arrangement.
can any one share some info on it ?
The PLT is part of the executable text section, consisting of a set of entries (one for each external function the shared library calls). Each PLT entry is a short chunk of executable code.
Instead of calling the function directly, the code calls an entry in the PLT, which then takes care to call the actual function. This arrangement is called a trampoline.
Source: http://eli.thegreenplace.net/2011/11/03/position-independent-code-pic-in-shared-libraries/
I came under a term "address space layout randomization" ? What is the meaning of it ?
Can any one give any example on it how it works and what happens in this feature ?
I want to build my own library in C, can someone help me with this?