Tagged articles
4 articles
Page 1 of 1
Huolala Tech
Huolala Tech
Aug 23, 2024 · Mobile Development

How to Detect and Debug SIGSEGV Memory Corruption in Android Native Apps

This article explains the common causes of SIGSEGV crashes in Android native code, demonstrates classic memory‑corruption patterns such as Use‑After‑Free, Double‑Free and heap buffer overflow, and presents a practical memory‑debugging solution inspired by Gwp‑ASan with custom guard pages, hook strategies, and stack capture techniques.

AndroidGwp-ASanNative Debugging
0 likes · 24 min read
How to Detect and Debug SIGSEGV Memory Corruption in Android Native Apps
ByteDance Terminal Technology
ByteDance Terminal Technology
Oct 28, 2021 · Mobile Development

MemCorruption Tool for Detecting Memory Corruption Issues in Android Apps

The MemCorruption tool, developed by ByteDance's AppHealth team, provides an online, low‑overhead solution for detecting Use‑After‑Free, Double‑Free, and Heap‑Buffer‑Overflow problems in Android applications by hooking memory allocation functions, sampling allocations, and performing invisible SIGSEGV‑based detection.

AndroidHookNative Debugging
0 likes · 12 min read
MemCorruption Tool for Detecting Memory Corruption Issues in Android Apps
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 22, 2021 · Mobile Development

Analysis of Android Tombstone Files and Debuggerd Crash Handling Process

The article explains how Android’s debuggerd daemon registers signal handlers, captures crashes, generates detailed tombstone files containing process, thread, register and memory information, and provides a step‑by‑step method for analyzing these files with tools like addr2line and objdump to locate the fault.

AndroidDebuggerdNative Debugging
0 likes · 12 min read
Analysis of Android Tombstone Files and Debuggerd Crash Handling Process
Qunar Tech Salon
Qunar Tech Salon
Nov 20, 2020 · Mobile Development

Debugging Dalvik VM Native Code with LLDB on Android

This guide explains how to configure Android Studio and LLDB to perform native debugging of the Dalvik virtual machine on Android devices, covering both scenarios with and without app source code, required environment setup, useful LLDB commands, and step‑by‑step procedures for remote debugging.

AndroidApp DevelopmentDalvik
0 likes · 8 min read
Debugging Dalvik VM Native Code with LLDB on Android