Tagged articles
4 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Jun 25, 2025 · Fundamentals

Why Hard-Coding Memory Addresses Is a Nightmare and How Symbols Solve It

The article explains how manually calculating absolute memory addresses for functions leads to error‑prone maintenance, introduces the concept of symbols to reference code by name, and details the role of object files, symbol tables, relocation tables, and the linking process that resolves addresses automatically.

CompilationLinkerlow‑level programming
0 likes · 8 min read
Why Hard-Coding Memory Addresses Is a Nightmare and How Symbols Solve It
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 11, 2024 · Fundamentals

How Linux Dynamic Linking Works: From PIC to Lazy Binding Explained

This article explores the mechanisms of dynamic linking on Linux, covering global symbol interposition, lazy binding, position‑independent code, relocation tables, hidden symbols, and initialization order, with detailed code examples and assembly analysis to help developers understand and troubleshoot symbol conflicts and address‑independent execution.

ELFPICdynamic linking
0 likes · 40 min read
How Linux Dynamic Linking Works: From PIC to Lazy Binding Explained