- Published on
Investigation · Part 8 of 20 · From source to a running process
How a Call to printf Finds printf: The PLT and the GOT
I watched one GOT slot in gdb before and after the first call to puts, measured what lazy binding costs on that first call, and compared it with -z now, LD_BIND_NOW, -fno-plt and a Rust binary that never uses the PLT for libc.