Tagged articles
5 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Sep 3, 2025 · Mobile Development

Hook an Android Native Function to Always Return True with ShadowHook

This guide demonstrates how to locate a target .so library’s base address on Android, compute the offset of a native method, and use the ShadowHook framework to hook the function, replacing its implementation with a stub that always returns true, complete with CMake setup and Java loading steps.

AndroidFridaShadowHook
0 likes · 10 min read
Hook an Android Native Function to Always Return True with ShadowHook
WeChat Client Technology Team
WeChat Client Technology Team
Jul 19, 2021 · Mobile Development

How to Build a Complete ANR Monitoring Solution on Android

This article explains the Android ANR workflow, analyzes the system's appNotResponding logic, and presents a robust monitoring strategy that captures SIGQUIT signals, validates true ANR events, and hooks trace writes to reliably detect and diagnose ANRs in mobile apps.

ANRAndroidPerformance Monitoring
0 likes · 22 min read
How to Build a Complete ANR Monitoring Solution on Android
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