Tag

Native Hook

0 views collected around this technical thread.

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.

AndroidGCHeapTaskDaemon
0 likes · 26 min read
Suppressing GC Execution in Android ART: Understanding HeapTaskDaemon and Hook Techniques
Baidu App Technology
Baidu App Technology
Sep 22, 2022 · Mobile Development

Thor Container Framework Introduction

The Thor Container Framework, created by Baidu for its App to meet Hook technology needs, offers standardized Java and Native Hook interfaces through an abstract layer, enabling lightweight, dynamically delivered plugins with hot‑swap capability, cloud‑controlled activation, and robust disaster‑recovery features, supporting use cases such as low‑end optimization, privacy compliance, OOM handling, and pipeline integration.

AndroidContainer FrameworkHook
0 likes · 22 min read
Thor Container Framework Introduction
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.

AndroidNative HookPLT hook
0 likes · 16 min read
ByteDance's Android PLT Hook Framework bhook Open Source
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.

AndroidDynamic LinkingNative Hook
0 likes · 17 min read
ELF PLT Hook: Principles, Usage, and Implementation on Android