Tagged articles
52 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Apr 30, 2026 · Operations

Master Core Dumps to Diagnose Linux Crashes Like a Pro

This guide explains what a Core Dump is, why it is essential for Linux crash analysis, how the kernel creates it, common signals that trigger it, typical causes of crashes, and step‑by‑step configuration and GDB techniques to capture and debug Core Dump files effectively.

ELFcore dumpcrash analysis
0 likes · 37 min read
Master Core Dumps to Diagnose Linux Crashes Like a Pro
Deepin Linux
Deepin Linux
Mar 29, 2026 · Fundamentals

What Happens Inside an ELF File? From Source Code to a Running Process

This article explains how a C/C++ program is compiled into an ELF executable, details the ELF file structure, describes the kernel's validation and segment mapping, covers dynamic linking, and shows how the process starts execution from the _start entry point, providing practical commands and debugging tips.

CompilationDebuggingELF
0 likes · 34 min read
What Happens Inside an ELF File? From Source Code to a Running Process
Open Source Tech Hub
Open Source Tech Hub
Mar 6, 2026 · Fundamentals

Compile Rust to Linux ELF with a PHP‑Based Compiler – No LLVM Needed

An open‑source PHP‑written Rust compiler can generate native x86‑64 Linux ELF binaries without LLVM, assemblers, or linkers, offering ownership, borrowing, type checking, generics, traits, closures, and more; the guide covers installation via PHP and WSL, usage commands, supported features, and current limitations.

ELFPHPProgramming Language
0 likes · 8 min read
Compile Rust to Linux ELF with a PHP‑Based Compiler – No LLVM Needed
Black & White Path
Black & White Path
Feb 27, 2026 · Information Security

One‑Click Root‑Free Persistence for Frida Scripts

This article details a step‑by‑step method to embed Frida scripts directly into Android binaries, creating a root‑free, self‑contained Xposed module by compiling a custom Frida‑gadget, editing ELF/PE files, adding magic markers, and automating packaging with Rust and apktool.

AndroidBinary InjectionELF
0 likes · 9 min read
One‑Click Root‑Free Persistence for Frida Scripts
Deepin Linux
Deepin Linux
Oct 14, 2025 · Fundamentals

Unlocking Linux: How ELF Files Transform Into Running Processes

This article explains the ELF file format, its various types, internal structure, compilation and linking steps, and how the Linux kernel loads ELF binaries, creates processes with fork and exec, handles dynamic linking, relocation, and builds the process address space, providing developers and system engineers with deep insight into Linux execution.

Binary FormatELFExecutable
0 likes · 40 min read
Unlocking Linux: How ELF Files Transform Into Running Processes
Liangxu Linux
Liangxu Linux
Aug 31, 2025 · Fundamentals

How Linkers Resolve Virtual Addresses Before a Program Runs

This article explains why C/C++ function and global variable addresses are fixed at link time, how modern operating systems provide each process with a private virtual address space, the role of ABI and linker scripts in defining segment layout, and how the loader later maps those virtual addresses to physical memory.

C++ELFLinker
0 likes · 6 min read
How Linkers Resolve Virtual Addresses Before a Program Runs
IT Services Circle
IT Services Circle
Jul 19, 2025 · Fundamentals

How Linkers Assign Virtual Addresses Before Your Program Runs

This article explains how linkers determine virtual memory addresses during linking, describes the operating system's per‑process virtual address space, outlines ABI and ELF conventions including default base addresses and linker scripts, and shows how the loader later maps those virtual addresses to physical memory.

ELFLinkerVirtual Memory
0 likes · 5 min read
How Linkers Assign Virtual Addresses Before Your Program Runs
Liangxu Linux
Liangxu Linux
Jun 17, 2025 · Fundamentals

Demystifying ELF: How Linux Turns a Binary into a Running Process

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.

ELFExecutable FormatTooling
0 likes · 20 min read
Demystifying ELF: How Linux Turns a Binary into a Running Process
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
Java Tech Enthusiast
Java Tech Enthusiast
Oct 11, 2024 · Fundamentals

Understanding How Executable Programs Run and Their Memory Layout

The article explains that an executable file contains machine instructions which the operating system parses (e.g., ELF), loads into RAM by allocating distinct memory regions for code, data, heap, stack and any dynamic libraries, then reads the entry‑point address to set the CPU’s instruction pointer and start execution.

ELFOperating Systemexecutable file
0 likes · 5 min read
Understanding How Executable Programs Run and Their Memory Layout
Liangxu Linux
Liangxu Linux
Sep 16, 2024 · Fundamentals

What Happens When You Double‑Click an App? Inside the OS Loading Process

This article explains how an executable file is identified, loaded into memory, and organized into code, data, heap, and stack segments, describing the OS’s role, ELF format details, dynamic library placement, and how the CPU finds the program’s entry point to start execution.

ELFExecutablememory layout
0 likes · 6 min read
What Happens When You Double‑Click an App? Inside the OS Loading Process
Liangxu Linux
Liangxu Linux
Aug 28, 2024 · Fundamentals

Mastering GCC: From C Source to ELF Executable in Four Steps

This guide walks through the complete GCC compilation pipeline—preprocessing, compilation, assembly, and linking—demonstrates how to build a simple C program, inspect the resulting ELF file, and use Binutils tools to analyze sections and disassemble the binary.

BinutilsCCompilation
0 likes · 13 min read
Mastering GCC: From C Source to ELF Executable in Four Steps
Open Source Linux
Open Source Linux
Aug 23, 2024 · Backend Development

Mastering GCC: From Source Code to Executable ELF Binaries

This article explains how high‑level C/C++ programs are transformed into processor‑executable binary code on Linux, covering preprocessing, compilation, assembly, linking, the GCC toolchain, Binutils utilities, C runtime libraries, and ELF file analysis with practical command examples.

C programmingCompilationELF
0 likes · 13 min read
Mastering GCC: From Source Code to Executable ELF Binaries
Liangxu Linux
Liangxu Linux
Dec 24, 2023 · Backend Development

Mastering GNU Linker Scripts: Control Binary Layout and Memory Mapping

This guide explains how GNU ld linker scripts work, covering their purpose, basic concepts like sections, symbols, VMA/LMA, the syntax of SECTIONS, INPUT, OUTPUT, and other commands, with practical examples and code snippets for embedded and desktop ELF binaries.

BinaryELFLinker
0 likes · 30 min read
Mastering GNU Linker Scripts: Control Binary Layout and Memory Mapping
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 14, 2023 · Mobile Development

Suppressing GC Execution in Android ART: Understanding HeapTaskDaemon and Hook Techniques

This article explains how the HeapTaskDaemon thread drives garbage collection in Android's ART runtime, analyzes its source code and related HeapTask classes, and presents two practical methods—adding custom HeapTasks or pausing existing ones—using ELF symbol lookup, ndk_dlopen, and virtual‑function hooking to temporarily suppress GC for better performance.

AndroidELFHeapTaskDaemon
0 likes · 26 min read
Suppressing GC Execution in Android ART: Understanding HeapTaskDaemon and Hook Techniques
ByteDance SYS Tech
ByteDance SYS Tech
Sep 8, 2023 · Fundamentals

Why Does Your C++ Program Crash? Unveiling Global Object Initialization Order

This article explores how C++ programs start, detailing the role of the _start entry point, the initialization of global objects via .init_array, __libc_csu_init, and constructors, and provides practical techniques—including linking with crt files and using init_priority—to control and debug initialization order and avoid crashes.

C++ELFLinker
0 likes · 23 min read
Why Does Your C++ Program Crash? Unveiling Global Object Initialization Order
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 22, 2023 · Mobile Development

Techniques for Reducing Android NDK .so Size: Code, Build, and Dependency Optimization

The article shows how to shrink Android NDK .so binaries by over 30% through code de‑duplication, disabling exceptions/RTTI/iostream, using fine‑grained sections with LTO and dead‑code elimination, limiting exported symbols via version scripts, employing JNI dynamic registration, and consolidating C++ runtime dependencies into a shared library.

Android NDKBuild configurationC
0 likes · 13 min read
Techniques for Reducing Android NDK .so Size: Code, Build, and Dependency Optimization
Open Source Linux
Open Source Linux
Apr 26, 2023 · Backend Development

Mastering GCC: From Preprocessing to ELF Analysis in Linux

This article guides readers through the complete GCC toolchain workflow—preprocessing, compilation, assembly, linking—and explains how to analyze the resulting ELF binary, covering essential commands, Binutils utilities, and runtime library details for C/C++ programs on Linux.

BinutilsC programmingCompilation
0 likes · 13 min read
Mastering GCC: From Preprocessing to ELF Analysis in Linux
Liangxu Linux
Liangxu Linux
Apr 17, 2023 · Fundamentals

What Makes an ELF File Tick? A Deep Dive into ELF and ARM ELF Formats

This article explains the ELF (Executable and Linking Format) specification, its variants for Windows PE and Linux, the classification of ELF object files, data representation, ARM‑specific extensions, and the structure of headers, sections, symbols, and related file types such as .axf, .bin and .hex.

ARMBinaryELF
0 likes · 41 min read
What Makes an ELF File Tick? A Deep Dive into ELF and ARM ELF Formats
Liangxu Linux
Liangxu Linux
Apr 15, 2023 · Fundamentals

Why Your C++ Build Fails: Hidden Pitfalls in 64‑Bit Linux Compilation & Linking

This article explains the four common compilation and linking problems C/C++ developers encounter on 64‑bit Linux, covering preprocessing, ELF object formats, static library ordering, dynamic linking mechanics, symbol interposition, and runtime loading pitfalls, and provides concrete solutions for each.

C++CompilationDynamic Loading
0 likes · 15 min read
Why Your C++ Build Fails: Hidden Pitfalls in 64‑Bit Linux Compilation & Linking
Liangxu Linux
Liangxu Linux
Apr 12, 2023 · Fundamentals

Mastering the GCC Toolchain: From Preprocessing to ELF Analysis

This guide explains how high‑level C/C++ source code is transformed into executable binary code on Linux using the GCC toolchain, covering preprocessing, compilation, assembly, linking, and ELF file inspection with practical command examples.

CompilationELFLinux
0 likes · 15 min read
Mastering the GCC Toolchain: From Preprocessing to ELF Analysis
AI Cyberspace
AI Cyberspace
Mar 7, 2023 · Fundamentals

Unlocking the Secrets of C Compilation: From Source to Executable

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.

CCompilationELF
0 likes · 23 min read
Unlocking the Secrets of C Compilation: From Source to Executable
Open Source Linux
Open Source Linux
Jul 13, 2022 · Fundamentals

Mastering GCC: From Source Code to ELF Executable Explained

This article walks through the complete GCC toolchain workflow—preprocessing, compilation, assembly, and linking—using a simple C "Hello World" program, explains the roles of GCC, Binutils and the C runtime, and shows how to inspect the resulting ELF binary with common Linux utilities.

C programmingCompilationELF
0 likes · 13 min read
Mastering GCC: From Source Code to ELF Executable Explained
Liangxu Linux
Liangxu Linux
Jun 22, 2022 · Fundamentals

From Source to Executable: Mastering the GCC Toolchain and ELF Analysis

This guide explains how C/C++ source code is transformed into a runnable binary on Linux by walking through the four stages of preprocessing, compilation, assembly, and linking, detailing GCC and Binutils utilities, command‑line examples, and ELF file inspection techniques.

CompilationELFLinux
0 likes · 14 min read
From Source to Executable: Mastering the GCC Toolchain and ELF Analysis
Meituan Technology Team
Meituan Technology Team
Jun 2, 2022 · Mobile Development

Optimizing Android .so Library Size: Techniques and Practices

This article explains how Meituan engineers shrink Android native .so libraries by analyzing ELF sections, simplifying dynamic symbols, removing dead code, using link‑time optimization, garbage‑collecting sections, applying size‑focused compiler flags, disabling exceptions/RTTI, and merging or extracting libraries, achieving 30‑60% APK size reductions and faster load times.

AndroidELFLTO
0 likes · 31 min read
Optimizing Android .so Library Size: Techniques and Practices
Liangxu Linux
Liangxu Linux
Apr 18, 2022 · Fundamentals

Unlocking ELF: A Deep Dive into Linux Executable File Structure

This article provides a comprehensive, byte‑level walkthrough of the ELF file format on Linux, explaining headers, sections, program headers, string tables, and how linkers and loaders interpret each part using tools like readelf and od.

ELFExecutable Formatbinary analysis
0 likes · 18 min read
Unlocking ELF: A Deep Dive into Linux Executable File Structure
ByteDance Terminal Technology
ByteDance Terminal Technology
Aug 19, 2021 · Mobile Development

ByteDance's Android PLT Hook Framework bhook Open Source

ByteDance has open‑sourced bhook, an Android PLT hook framework supporting API 16‑31 and multiple ABIs, featuring a trampoline‑based hook mechanism, automatic ELF monitoring, and a robust native crash‑catching module for safe runtime function interception.

AndroidELFNative Hook
0 likes · 16 min read
ByteDance's Android PLT Hook Framework bhook Open Source
Liangxu Linux
Liangxu Linux
Feb 24, 2021 · Fundamentals

What Really Differentiates Linux and Windows Kernels?

An in‑depth look at the core differences between Linux and Windows kernels, covering kernel fundamentals, user‑ versus kernel‑space, system calls, Linux’s monolithic design with multitasking, SMP and ELF format, and Windows NT’s hybrid architecture with the PE executable format.

ELFLinuxPE
0 likes · 11 min read
What Really Differentiates Linux and Windows Kernels?
DeWu Technology
DeWu Technology
Feb 7, 2021 · Information Security

ELF PLT Hook: Principles, Usage, and Implementation on Android

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.

AndroidELFNative Hook
0 likes · 17 min read
ELF PLT Hook: Principles, Usage, and Implementation on Android
Liangxu Linux
Liangxu Linux
Jan 18, 2021 · Backend Development

Mastering the GCC Toolchain: From Source Code to ELF Executable

This guide walks through the complete GCC compilation pipeline—preprocessing, compilation, assembly, and linking—using a simple C "Hello World" program, detailing each step, relevant commands, and how to inspect the resulting ELF binary.

BinutilsC programmingCompilation
0 likes · 13 min read
Mastering the GCC Toolchain: From Source Code to ELF Executable
ITPUB
ITPUB
Dec 7, 2020 · Fundamentals

Run Newer glibc‑Dependent Binaries on CentOS 6 Without Upgrading glibc

This guide explains how to resolve glibc version errors on CentOS 6 by analyzing ELF symbol tables with objdump and readelf, editing .gnu.version_r entries via a hex editor, and using patchelf to add needed libraries, allowing older systems to run newer binaries safely.

ELFbinary compatibilitycentos6
0 likes · 15 min read
Run Newer glibc‑Dependent Binaries on CentOS 6 Without Upgrading glibc
Liangxu Linux
Liangxu Linux
Dec 5, 2020 · Operations

Run Newer glibc Binaries on Old CentOS 6 Without Upgrading glibc

This guide explains why a third‑party program compiled against glibc 2.14/2.17 fails on CentOS 6, how to inspect the ELF symbol versions with objdump and readelf, and how to patch the binary using a hex editor and patchelf so it can run with the system's older glibc.

ELFbinary compatibilitycentos6
0 likes · 16 min read
Run Newer glibc Binaries on Old CentOS 6 Without Upgrading glibc
Liangxu Linux
Liangxu Linux
May 11, 2020 · Fundamentals

Understanding Linux Executable Files and Their Virtual Address Space

This article explains how Linux creates a new process with its own virtual address space, maps ELF executable segments to memory regions, describes the roles of code, data, and BSS sections, shows how to inspect mappings via /proc/pid/maps, and clarifies segment‑section relationships and loading details.

ELFProcess Address SpaceSegments
0 likes · 9 min read
Understanding Linux Executable Files and Their Virtual Address Space
360 Tech Engineering
360 Tech Engineering
Jul 27, 2018 · Fundamentals

Detailed Analysis of the ELF File Format (Part 2)

This article provides an in‑depth overview of the ELF file format, describing its headers, section and program tables, symbol structures, and demonstrates how to use this knowledge to locate and hook functions in Android native libraries such as libmedia.so.

AndroidBinary FormatELF
0 likes · 7 min read
Detailed Analysis of the ELF File Format (Part 2)
Qizhuo Club
Qizhuo Club
Jun 15, 2018 · Fundamentals

Mastering ELF File Structure: Headers, Sections, and Android Hooking

This article explains the detailed ELF file format—including ELF header, section and program header tables, various section types, and a practical Android native hook example—helping developers understand and troubleshoot native binary loading and symbol resolution.

AndroidBinary FormatELF
0 likes · 9 min read
Mastering ELF File Structure: Headers, Sections, and Android Hooking
UCloud Tech
UCloud Tech
Mar 23, 2018 · Operations

How UCloud’s Application Hot‑Patch Framework Enables Zero‑Downtime Fixes

This article explains the design, components, and implementation of UCloud's application hot‑patch framework, covering its motivation, safety checks, multi‑thread support, and how the Creator, Loader, and Core Runtime work together to apply, manage, and roll back patches without restarting services.

ELFLinuxUCloud
0 likes · 13 min read
How UCloud’s Application Hot‑Patch Framework Enables Zero‑Downtime Fixes
UCloud Tech
UCloud Tech
Mar 9, 2018 · Backend Development

Automatically Generating Binary Hot Patches for Linux Applications

This article explains a technique to automatically generate hot patches for any function in a Linux ELF application by comparing original and patched object files, extracting changed sections, resolving symbols, and validating the patch with tools like objdump and gdb.

ELFautomatic patch generationbinary diff
0 likes · 12 min read
Automatically Generating Binary Hot Patches for Linux Applications
Qizhuo Club
Qizhuo Club
Feb 9, 2018 · Fundamentals

Unlocking Android's ELF Files: A Beginner's Guide to the Binary Format

This article introduces the ELF file format used in Linux and Android, explains its three main types, compares it to Windows PE, and outlines how linkers and loaders interpret ELF headers, sections, and segments for native development and reverse engineering.

AndroidELFNative Development
0 likes · 8 min read
Unlocking Android's ELF Files: A Beginner's Guide to the Binary Format
Meituan Technology Team
Meituan Technology Team
Jul 20, 2017 · Mobile Development

Remote Debugging of Android Apps via Custom JDWP Channels

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.

AndroidELFdynamic linking
0 likes · 16 min read
Remote Debugging of Android Apps via Custom JDWP Channels
ITPUB
ITPUB
Aug 3, 2016 · Fundamentals

Why Do Linux Segmentation Faults Occur? ELF Layout, Memory Mapping & Debugging

This article explains how Linux programs are loaded, the distinction between ELF sections and segments, virtual‑to‑physical address translation, the role of the MMU, brk/sbrk usage, address‑space layout, and practical steps to reproduce and avoid segmentation faults.

ELFLinuxmemory layout
0 likes · 15 min read
Why Do Linux Segmentation Faults Occur? ELF Layout, Memory Mapping & Debugging
ITPUB
ITPUB
Mar 23, 2016 · Information Security

How Malicious ELF Files Evade IDA Pro and What You Can Do About It

The article reveals a novel ELF‑binary manipulation technique that prevents IDA Pro from loading malicious Linux samples, demonstrates reconstruction steps with hex editors, compares other disassemblers, and provides YARA rules and a GitHub script for detection and remediation.

ELFIDA ProLinux security
0 likes · 5 min read
How Malicious ELF Files Evade IDA Pro and What You Can Do About It