Advanced Assembly Language
Q94 / 100

What is the PLT (Procedure Linkage Table) and how does lazy binding work?

Correct! Well done.

Incorrect.

The correct answer is B) A trampoline table in shared libraries; lazy binding calls the resolver on first use, then overwrites the GOT entry with the actual function address

B

Correct Answer

A trampoline table in shared libraries; lazy binding calls the resolver on first use, then overwrites the GOT entry with the actual function address

Explanation

First call to printf goes through PLT → resolver → resolves address → writes to GOT. Subsequent calls go PLT → GOT (direct). Lazy binding reduces startup time.

Progress
94/100