Click here to start

Table of contents

Title: Dynamic Linking

Intro: What is this all about, anyway?

Intro: Dynamic linkers and programs

History: a.out, ELF is in...

a.old, ELF in

ELF

Startup: in the kernel

BSS regions

Setup: the next phase

The Dynamic Linker

The Price of Relocations

The Relocation Process

Resolving Symbol Dependencies

Resolving Symbols continued

Notes on Optimizations

Having fun with the dynamic linker

Sleepless: symbol hijacking example

the Sleepless Library

Sleepless Example

LD_PRELOAD Pitfalls

Linux Kernel Loadable Module

Goodbye!

Author: Gilad Ben-Yossef

E-mail: gilad@benyossef.com

Homepage: http://benyossef.com/

Further information:
This presentation was given by me at a Haifux club meeting on December 2002