Tagged articles
23 articles
Page 1 of 1
Huolala Tech
Huolala Tech
Jul 16, 2025 · Mobile Development

Why iOS 18 Crashes When exit() Is Called and How to Fix It

This article analyzes a driver‑side iOS 18 crash triggered by BackBoardServices calling exit, explains the underlying XPC and C++ destructor chain, explores failed hook and compiler‑flag workarounds, and presents a reliable atexit‑based solution that eliminates the crash on iOS 18 and later.

CHookingMobile Development
0 likes · 15 min read
Why iOS 18 Crashes When exit() Is Called and How to Fix It
Python Crawling & Data Mining
Python Crawling & Data Mining
May 1, 2025 · Information Security

Master Frida Hooking: Advanced Android Reverse‑Engineering Techniques

This comprehensive tutorial walks through using Frida to hook Android applications, covering official API references, loading APKs, hooking normal and static methods, modifying parameters and return values, handling constructors, inner and anonymous classes, enumerating loaded classes and methods, dynamic dex loading, selective hooking, and practical examples such as programmatically clicking a login button, all illustrated with clear code snippets and explanations.

AndroidFridaHooking
0 likes · 18 min read
Master Frida Hooking: Advanced Android Reverse‑Engineering Techniques
Python Crawling & Data Mining
Python Crawling & Data Mining
Apr 26, 2025 · Information Security

Master Frida: Step-by-Step Guide to Hook Android Apps with Python

This tutorial walks you through setting up a Python virtual environment, installing Frida and frida‑server on a rooted Android device, configuring the server, verifying the connection, and writing JavaScript hooks to intercept login functions, complete with code snippets, command examples, and troubleshooting tips.

AndroidFridaHooking
0 likes · 11 min read
Master Frida: Step-by-Step Guide to Hook Android Apps with Python
Watermelon Video Tech Team
Watermelon Video Tech Team
Dec 14, 2023 · Mobile Development

Why Does Android’s RenderThread Crash on TextureView.getBitmap? A Deep Dive and Fix

This article investigates the Android 5‑6 RenderThread native crash caused by a missing EGL surface when TextureView.getBitmap is called before ThreadedRender initialization, analyzes the root cause through code inspection and runtime logs, and presents a bytecode‑instrumentation fix that dramatically reduces the crash rate.

AndroidCrashAnalysisHooking
0 likes · 21 min read
Why Does Android’s RenderThread Crash on TextureView.getBitmap? A Deep Dive and Fix
DaTaobao Tech
DaTaobao Tech
Nov 6, 2023 · Mobile Development

Analyzing and Fixing iOS 16 WKWebView Crash via Reverse Engineering and Hooking

By reverse‑engineering the iOS 16 WKWebView image‑analysis crash, the team identified a nil‑buffer bug in VisionKitCore’s CGImage creation, then mitigated it by runtime‑hooking VKCRemoveBackgroundResult’s createCGImage (returning NULL) and suppressing the image‑analysis gesture, reducing crashes from thousands to near zero.

AssemblyCrashAnalysisHooking
0 likes · 29 min read
Analyzing and Fixing iOS 16 WKWebView Crash via Reverse Engineering and Hooking
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 21, 2022 · Information Security

Master Frida: Hook Android Apps with Advanced Techniques

This tutorial walks you through using Frida to hook Android applications, covering API basics, method interception, constructor and field manipulation, overload handling, dynamic class loading, and practical code snippets for both static and instance methods, all while emphasizing safe, educational use.

AndroidFridaHooking
0 likes · 19 min read
Master Frida: Hook Android Apps with Advanced Techniques
Watermelon Video Tech Team
Watermelon Video Tech Team
Aug 13, 2021 · Mobile Development

Raphael: An Open‑Source Native Memory Leak Detection Tool for Android

Raphael is a native memory‑leak detection tool developed by Bytedance's video team, open‑sourced to address Android native memory issues through a combination of inline/PLT hooking, efficient stack unwinding, and optimized caching, offering low‑overhead, version‑independent monitoring across diverse native allocation APIs.

AndroidHookingNative Memory Leak
0 likes · 24 min read
Raphael: An Open‑Source Native Memory Leak Detection Tool for Android
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jun 19, 2021 · Mobile Development

Hooking iOS UICollectionView Delegate with Method Swizzling and NSProxy: Challenges and Solutions

This article explains how to use AOP techniques such as Method Swizzle and NSProxy to hook UICollectionView and UIViewController delegate methods for precise event tracking, analyzes compatibility problems caused by multiple delegate proxies in large apps, and proposes three practical solutions to avoid crashes and maintain extensibility.

Delegate ProxyHookingMethod Swizzling
0 likes · 15 min read
Hooking iOS UICollectionView Delegate with Method Swizzling and NSProxy: Challenges and Solutions
ByteDance Terminal Technology
ByteDance Terminal Technology
May 28, 2021 · Mobile Development

Hooking iOS Delegates with Method Swizzling and Proxy Patterns: Challenges, Crash Analysis, and Compatibility Solutions

This article explores using AOP techniques such as Method Swizzle and NSProxy‑based delegate proxies to instrument iOS view controllers and collection view delegates, analyzes crashes caused by multiple setDelegate hooks—including interactions with RxCocoa—and proposes several practical solutions to ensure stable hooking in complex app environments.

Delegate ProxyHookingMethod Swizzling
0 likes · 17 min read
Hooking iOS Delegates with Method Swizzling and Proxy Patterns: Challenges, Crash Analysis, and Compatibility Solutions
58 Tech
58 Tech
May 19, 2021 · Mobile Development

Hooking Swift Functions by Modifying the Virtual Table (VTable)

This article explains a novel Swift hooking technique that modifies the virtual function table (VTable) to replace method implementations, detailing Swift's runtime structures such as TypeContext, Metadata, OverrideTable, and providing concrete ARM64 assembly and Swift code examples.

HookingRuntimeSwift
0 likes · 19 min read
Hooking Swift Functions by Modifying the Virtual Table (VTable)
Tencent Music Tech Team
Tencent Music Tech Team
Apr 23, 2021 · Mobile Development

Native Memory Analysis and Optimization in Android K歌 Application

The article details a thorough investigation of native‑memory crashes in the K歌 Android app, describing how memory usage was profiled, comparing three analysis tools, building a custom loli_profiler‑based hook to track malloc/free and bitmap allocations, exposing leaks, and outlining fixes and future optimization plans.

AndroidBitmapHooking
0 likes · 28 min read
Native Memory Analysis and Optimization in Android K歌 Application
Sohu Tech Products
Sohu Tech Products
Jun 3, 2020 · Mobile Development

Understanding Variadic Function Hooking and Stack Context Pollution with TrampolineHook

This article explains why adding parameter‑reading code to a variadic‑function hook causes a deterministic crash due to stack context pollution, analyzes the calling‑stack layout and register usage with ARM64 assembly, and presents a heap‑based context‑saving solution using TrampolineHook to safely intercept variadic methods on iOS.

AssemblyHookingObjective‑C
0 likes · 12 min read
Understanding Variadic Function Hooking and Stack Context Pollution with TrampolineHook
vivo Internet Technology
vivo Internet Technology
Mar 25, 2020 · Mobile Development

Dynamic Multi-language Resource Replacement and WebView Crash Resolution in Android

To prevent translation errors and post‑release crashes in multilingual Android apps, the article describes a dynamic resource‑replacement system that loads external language packs via AssetManager, proxies Resources through reflection, integrates the proxy with ResourcesManager, and updates WebView assets, eliminating garbled text and long‑press crashes.

AndroidDynamic LocalizationHooking
0 likes · 31 min read
Dynamic Multi-language Resource Replacement and WebView Crash Resolution in Android
360 Tech Engineering
360 Tech Engineering
Sep 24, 2018 · Mobile Development

Adapting the Dual‑Instance Plugin Framework to Android P Activity Lifecycle Changes

This article explains how the highly invasive plugin framework "Dual Master" is adapted to Android P by analyzing the refactored Activity lifecycle handling, the EXECUTE_TRANSACTION message flow, and the necessary code modifications for activity placeholder replacement, restoration, and system provider hooking.

Activity LifecycleAndroidAndroid P
0 likes · 11 min read
Adapting the Dual‑Instance Plugin Framework to Android P Activity Lifecycle Changes
Qizhuo Club
Qizhuo Club
Apr 27, 2018 · Mobile Development

Running Xposed Modules on Non‑Root Android: Virtualization & Hooking Guide

This article introduces the Xposed framework, explains its architecture and root‑based installation process, then explores alternative non‑root implementation methods using sandbox virtualization and Java hook techniques, detailing dual‑app virtualization, framework migration, and practical code examples for running Xposed modules on unrooted Android devices.

AndroidHookingMobile Development
0 likes · 8 min read
Running Xposed Modules on Non‑Root Android: Virtualization & Hooking Guide