Tagged articles
2 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
Apr 10, 2023 · Information Security

GWP‑ASan Based Heap Memory Error Detection and Debugging on Windows

This article explains how GWP‑ASan, a low‑overhead sampling memory‑sanitizer developed by Google, can be integrated on Windows to detect heap errors such as use‑after‑free, buffer‑underflow, buffer‑overflow and double‑free, describes its monitoring principles, hook implementation, crash‑report augmentation, and presents real‑world case studies and remediation strategies.

Gwp-ASanHeap DebuggingMemory Errors
0 likes · 21 min read
GWP‑ASan Based Heap Memory Error Detection and Debugging on Windows