This article provides a visual deep-dive into the ELF file format, covering its header structure, program and section headers, segments versus sections, code/data/bss layout, symbol tables, relocation mechanics, dynamic linking with GOT/PLT, the execve loading sequence, and practical inspection tools like readelf and objdump.

This comprehensive guide traces the full execution path of a Linux program from user-space glibc calls through system calls into the kernel, covering process management, memory allocation, threading, I/O buffering, dynamic linking, and practical debugging techniques.

This article explains the fundamentals of Linux dynamic linking, compares .so shared objects with static libraries, walks through creating and compiling a simple math library, shows how to link and run an executable, and details runtime loading, library path configuration, and common troubleshooting techniques.

This article explains the ELF (Executable and Linkable Format) file structure, how to identify ELF binaries, the roles of headers, program and section tables, the compilation‑to‑execution lifecycle, and practical tools for inspecting and manipulating ELF files on Linux.

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.

This article explains how programs are laid out in memory, walks through the compilation and linking stages, compares static and dynamic linking, and shows why dynamic libraries reduce disk and memory usage while making bug fixes easier.

This article explains how programs are laid out in memory, the roles of code, data, heap, and stack sections, and compares static linking, which bundles all code into the executable, with dynamic linking, which loads shared libraries at runtime to save disk and memory space.

This article details NetEase Cloud Music's engineering solution for gradually upgrading its iOS React Native version using a dual dynamic‑library gray‑release strategy, covering background, challenges, symbol handling, code modifications, and practical issues to enable zero‑impact, data‑driven rollouts.

This article introduces Java’s bytecode fundamentals, explaining how the JVM translates compiled class files into platform‑independent instructions, the role of dynamic linking, stack frames, operand stacks, and common bytecode mnemonics, while providing code examples and visual diagrams to deepen understanding.

This article explains the principles of modular programming, examines JavaScript and asm.js module systems, and details how WebAssembly extends these concepts with import/export sections and dynamic linking mechanisms, while also reviewing current proposals and future trends for module linking and component models.

This article explains the principles of modular programming, examines JavaScript and asm.js module systems, details how WebAssembly implements import/export and dynamic linking, and reviews current proposals such as ES Module integration, Module Linking, and Component Model that shape the future of WebAssembly modularity.

This article explains the fundamental concepts behind C language compilation, covering lexical, syntax, and semantic analysis, GCC options, file types, static and dynamic linking, ELF structure, and the loader process that turns source code into a runnable program.

This article explains the principles behind Google’s sanitizer tools, especially AddressSanitizer, covering symbol interposition, the interceptor mechanism, and how these techniques replace libc functions to reliably locate memory and thread errors in C++ applications on Linux.

This article clarifies three frequent misunderstandings about iOS15+ dynamic linking—namely the encoding of b/bl instructions, the need for rebase/bind in __TEXT segments, and the mismatch between Mach‑O segment VM size and file size—by explaining the underlying ARM64 architecture, PIC concepts, and providing concrete dyld tool examples.

Fixup chain, introduced in iOS 15, replaces the previous compressed‑byte‑stream rebase/bind format with a linked‑list style structure that stores dynamic‑link information more compactly, improves space locality, reduces binary size, and speeds up app launch by allowing a single pass rebase and bind process.

This article examines the challenges of Android native .so libraries—including ABI incompatibility, duplicate and conflicting binaries, and unnecessary exported symbols—while presenting practical detection tools, static vs. dynamic STL linking strategies, loading process analysis, and comprehensive governance solutions to keep app size and stability in check.

This tutorial walks through Linux library management, demonstrating how to build and inspect static (.a) and shared (.so) libraries, configure runtime search paths with LD_LIBRARY_PATH, customize linker behavior, and handle multi‑architecture library locations using practical command‑line examples.

ELF PLT Hook on Android intercepts shared‑library calls by overwriting GOT/PLT entries, providing a stable production‑ready method for tasks such as APM monitoring, APK unpacking and performance profiling, with a clear workflow, dynamic‑linking background, and a practical implementation using the plthook library.

This article explains the principles of static and dynamic linking on iOS, details how symbol tables, relocation entries, and GOT/PLT work, and demonstrates a practical static‑library hooking technique using relocation tables and the fishhook library.

This article describes a Java‑based solution that dynamically adds brand and model hyperlinks to automotive articles by building multilingual keyword dictionaries with HanLP and employing an Aho‑Corasick Double‑Array Trie for efficient, context‑aware matching without altering the original content.

This article explains the drawbacks of static linking, introduces dynamic linking concepts such as position‑independent code, load‑time relocation, GOT/PLT mechanisms, and demonstrates how to build and use shared libraries with gcc, readelf, and the dlopen API.

The article describes how to remotely debug Android apps by creating a custom JDWP socket channel that bypasses Android 7.0’s library restrictions using a fake dlsym ELF parser, enabling developers to retrieve runtime state from production builds without prior instrumentation or user cooperation.

This article examines the factors that slow iOS app launch—especially dynamic library loading and Objective‑C class initialization—and presents practical measurements and optimization techniques to dramatically reduce both cold and hot startup times.

This guide explains the naming conventions, source code, compilation commands, and linking techniques for creating a Linux shared library (.so) using GCC, including options like -fpic, -shared, absolute‑path linking, and the -l flag after copying the library to /usr/lib.
