Tagged articles
42 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Nov 1, 2025 · Fundamentals

Master Linux System Call Hooking: Theory, Security & Performance Tricks

This article explores Linux system call hooking by first reviewing syscall fundamentals, then detailing various Hook techniques—including function pointer replacement, LD_PRELOAD, and kernel modules—accompanied by C/C++ examples, and demonstrates practical applications in security monitoring, performance optimization, and debugging across real-world scenarios.

HookLinuxSystem Call
0 likes · 29 min read
Master Linux System Call Hooking: Theory, Security & Performance Tricks
Architect's Guide
Architect's Guide
Oct 10, 2025 · Mobile Development

Master Android Hooking: From View OnClickListener to Xposed Framework

This article explains the concept of Android Hook, demonstrates how to intercept View.OnClickListener using Java reflection, shows step‑by‑step code for hooking startActivity via ActivityThread instrumentation, and introduces the Xposed framework’s mechanism for system‑wide method interception, providing practical examples and key implementation tips.

AndroidHookInstrumentation
0 likes · 12 min read
Master Android Hooking: From View OnClickListener to Xposed Framework
Deepin Linux
Deepin Linux
Jul 25, 2025 · Information Security

How to Hook Linux System Calls for Real‑Time Monitoring and Security

This article explains the concepts and implementation of Linux system‑call hooking, covering both user‑space techniques like LD_PRELOAD and kernel‑space methods such as inline patches and kprobes, and shows how to monitor, filter, and secure calls without breaking normal program flow.

HookLD_PRELOADLinux
0 likes · 36 min read
How to Hook Linux System Calls for Real‑Time Monitoring and Security
Architect's Guide
Architect's Guide
Jun 19, 2025 · Mobile Development

Master Android Hooking: From API Hook to Xposed Framework

This article explains the concept of Hook in Android, demonstrates how to intercept View OnClickListener and startActivity using Java reflection and instrumentation, and introduces the Xposed framework for system‑wide method hooking, providing step‑by‑step code examples and practical deployment tips.

API HookAndroidHook
0 likes · 13 min read
Master Android Hooking: From API Hook to Xposed Framework
Huolala Tech
Huolala Tech
Oct 8, 2024 · Mobile Development

iOS 17 Text‑to‑Speech Crash: Root Cause and Effective Fixes

This article investigates a recurring text‑to‑speech crash on iOS 17 devices, detailing the EXC_BAD_ACCESS error, analyzing stack traces, exploring internal AVAudioEngine and AUAudioUnit_XPC structures, and presenting two remediation strategies—including a hook‑based approach that safely bypasses problematic dealloc and stop calls.

AVAudioEngineCrashHook
0 likes · 16 min read
iOS 17 Text‑to‑Speech Crash: Root Cause and Effective Fixes
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 20, 2024 · Mobile Development

Hooking Android Looper Observer for Message Timing Monitoring and Bypassing Hidden APIs

This article explains how to use reflection and dynamic proxies to hook the hidden Android Looper.Observer API for detailed message‑dispatch timing, demonstrates code examples for installing and removing the hook, discusses workarounds for hidden‑API restrictions and the .dex loading changes introduced in Android 14.

AndroidHidden APIHook
0 likes · 13 min read
Hooking Android Looper Observer for Message Timing Monitoring and Bypassing Hidden APIs
Goodme Frontend Team
Goodme Frontend Team
Nov 13, 2023 · Frontend Development

Unlocking Webpack’s Power: A Deep Dive into Tapable’s Core Mechanics

This article explains how Webpack’s plugin system relies on the Tapable library, covering its basic usage, the nine built‑in hook types, advanced features like interceptors and HookMap, and the internal code‑generation mechanism that makes Webpack’s event handling both flexible and high‑performance.

HookTapable
0 likes · 18 min read
Unlocking Webpack’s Power: A Deep Dive into Tapable’s Core Mechanics
ByteFE
ByteFE
May 24, 2023 · Frontend Development

Design, Implementation, and Performance Benefits of a New React Hook for Controlling Flow

This article analyses the conceptual design, possible implementation, and performance advantages of a new React Hook that can be called inside control flow, discusses its future extensions such as usePromise, lazy subscription, and integration with concurrent mode, and provides practical code examples.

Concurrent ModeHookReact
0 likes · 13 min read
Design, Implementation, and Performance Benefits of a New React Hook for Controlling Flow
php Courses
php Courses
Mar 25, 2023 · Backend Development

ThinkPHP Hook Behaviors: Concepts, Usage Examples, and Implementation

This article explains the concept of ThinkPHP Hook behaviors, demonstrates how to define custom behavior classes, bind them to tags using Hook::add, trigger them with Hook::listen, and configure tag bindings in tags.php, providing complete code examples for a login scenario.

FrameworkHookPHP
0 likes · 6 min read
ThinkPHP Hook Behaviors: Concepts, Usage Examples, and Implementation
DaTaobao Tech
DaTaobao Tech
Dec 9, 2022 · Fundamentals

Frida-gum Based Non-intrusive C++ Mock Framework

This open‑source C++ mock framework leverages Frida‑gum to replace any function—including static, member, virtual, and library calls—at runtime without source changes, offering simple MOCK and MOCK_RETURN macros, call‑count expectations, automatic scope‑based rollback, and cross‑platform support for reliable, non‑intrusive unit testing.

FridaHookMocking
0 likes · 11 min read
Frida-gum Based Non-intrusive C++ Mock Framework
37 Interactive Technology Team
37 Interactive Technology Team
Oct 10, 2022 · Frontend Development

AOP Techniques for Ajax and Jsonp in Front-End Development

The article explains how to use Aspect‑Oriented Programming to globally intercept and rewrite Ajax and JSONP requests—both native and framework based—by extending Function.prototype, overriding DOM methods, and employing ajax‑hook and Axios interceptors, culminating in a runnable demo that redirects traffic from a‑domain to b‑domain.

HookJSONPJavaScript
0 likes · 19 min read
AOP Techniques for Ajax and Jsonp in Front-End Development
Baidu Geek Talk
Baidu Geek Talk
Oct 10, 2022 · Mobile Development

Thor Container Framework: Unified Java and Native Hook for Mobile Apps

Thor is a unified Android container framework that combines Java and native hooking into a lightweight, dynamically loadable module, ensuring backward compatibility, hot‑plug plugin deployment, fault‑tolerant operation, and cloud‑controlled toggling, while real‑world plugins for threads, I/O, privacy, and memory deliver measurable performance and stability gains.

AndroidDynamic PluginsHook
0 likes · 25 min read
Thor Container Framework: Unified Java and Native Hook for Mobile Apps
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.

AndroidDynamic LoadingHook
0 likes · 22 min read
Thor Container Framework Introduction
Python Programming Learning Circle
Python Programming Learning Circle
Aug 1, 2022 · Information Security

Implementing Windows Hooks in Python Using ctypes

This tutorial explains how to create a Windows key‑logging spy program by registering low‑level hooks through the user32 and kernel32 DLLs, using Python's ctypes library to call the required WinAPI functions, define callback prototypes, and manage hook installation and removal.

HookKeyloggerPython
0 likes · 8 min read
Implementing Windows Hooks in Python Using ctypes
Youzan Coder
Youzan Coder
Mar 14, 2022 · Information Security

Android Privacy Protection: Privacy API and Permission HOOK Implementation Practice

To meet new Chinese privacy regulations, the article presents an mPaaS‑based solution that uses compile‑time Java HOOKs to replace privacy‑sensitive API calls and dangerous permission requests, automatically detecting and logging violations during build and runtime, and providing backend alerts and management tools for compliance.

ASMAndroidBytecode Manipulation
0 likes · 14 min read
Android Privacy Protection: Privacy API and Permission HOOK Implementation Practice
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
ByteFE
ByteFE
Sep 9, 2021 · Frontend Development

How to Build a Canvas‑Based Image Cropping Hook in React

This article explains how to create a reusable React hook that uses two canvas layers to let users select a region on an image, shows a gray‑out overlay with a border during selection, and returns the cropped area as a base64 PNG, including full implementation details and future enhancements.

CanvasHookImage Cropping
0 likes · 12 min read
How to Build a Canvas‑Based Image Cropping Hook in React
WeChat Client Technology Team
WeChat Client Technology Team
Sep 8, 2021 · Mobile Development

Uncovering Hidden Android Thread Pitfalls: Memory Leaks, Monitoring, and Hook Solutions

This article explores obscure Android thread issues—including uncontrolled thread creation, stack memory leaks, and the impact of thread‑priority settings—while presenting monitoring techniques, a pthread hook implementation, and performance considerations to help developers detect and resolve thread‑related crashes.

AndroidHookMemory Management
0 likes · 15 min read
Uncovering Hidden Android Thread Pitfalls: Memory Leaks, Monitoring, and Hook Solutions
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Aug 27, 2021 · Information Security

JavaTweakHook: A Lightweight Android Java Method Hook Framework without Xposed

The article introduces JavaTweakHook, a lightweight Android hook framework that avoids Xposed by directly manipulating ART structures, compares it with existing solutions, details the hook process—including method creation, ArtMethod copying, assembly trampolines, and native‑Java integration—and provides compilation, usage, and limitation notes.

AndroidHookjava
0 likes · 15 min read
JavaTweakHook: A Lightweight Android Java Method Hook Framework without Xposed
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 16, 2021 · Frontend Development

How Tapable Powers Webpack: Inside the Hook System

This article explains the relationship between Tapable and webpack, detailing how Tapable implements a flexible hook system that powers webpack's plugin architecture, covering core concepts, hook classifications, usage patterns, internal mechanics, and practical examples for building custom webpack plugins.

HookTapable
0 likes · 19 min read
How Tapable Powers Webpack: Inside the Hook System
php Courses
php Courses
Mar 1, 2021 · Backend Development

ThinkPHP Framework Execution Process Overview

This article outlines the ThinkPHP framework’s execution flow, detailing the sequence from index.php entry through configuration loading, application generation, class loading, controller action execution, and template rendering, and highlights key classes such as Think\Hook and Think\Behavior.

BackendFrameworkHook
0 likes · 2 min read
ThinkPHP Framework Execution Process Overview
Qunar Tech Salon
Qunar Tech Salon
Jan 27, 2021 · Mobile Development

Implementing Global SDK Privacy Monitoring and Hooking in Android via ASM Transform and Custom Annotations

This article explains how QuNar’s front‑end team built a comprehensive Android SDK privacy monitoring system using a custom Transform, ASM bytecode manipulation, and annotation‑driven hook configurations, detailing both basic and advanced solutions for globally intercepting sensitive API calls and ensuring extensible, version‑independent protection.

ASMAndroidHook
0 likes · 20 min read
Implementing Global SDK Privacy Monitoring and Hooking in Android via ASM Transform and Custom Annotations
Sohu Tech Products
Sohu Tech Products
Jan 13, 2021 · Mobile Development

Understanding Hook Techniques and Fishhook Implementation on iOS

This article explains the fundamentals of hooking on iOS, covering Method Swizzle and Facebook's fishhook, detailing the Mach‑O file structure, PIC technique, and providing complete source code examples that demonstrate how to replace system functions such as NSLog at runtime.

FishhookHookMach-O
0 likes · 22 min read
Understanding Hook Techniques and Fishhook Implementation on iOS
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Hook Behaviors in ThinkPHP: A Practical Guide

This article explains the concept of ThinkPHP Hook behaviors, demonstrates how to define, bind, and trigger custom behavior classes with code examples, and shows how to decouple login logic using event‑like hooks for more maintainable backend development.

BackendDecouplingEvent
0 likes · 6 min read
Using Hook Behaviors in ThinkPHP: A Practical Guide
Didi Tech
Didi Tech
Jul 5, 2019 · Mobile Development

Understanding and Optimizing Android Activity Startup Performance

Android activity startup latency stems from three phases—Pause, Launch, and Render—so optimizing only onCreate often leaves perceived delays; developers can measure each phase via system logs or AOP hooks (Instrumentation, Looper‑Printer, or ActivityThread handler) to pinpoint and reduce bottlenecks.

ActivityAndroidHook
0 likes · 21 min read
Understanding and Optimizing Android Activity Startup Performance
Qizhuo Club
Qizhuo Club
Sep 22, 2018 · Mobile Development

Adapting Android P Activity Lifecycle Hooks for the 分身大师 Plugin Framework

This article explains how Android P refactors the Activity lifecycle handling, details the shift from LAUNCH_ACTIVITY messages to EXECUTE_TRANSACTION processing, and describes the necessary code adaptations for the 分身大师 framework to support dual‑open apps on Android P.

Activity LifecycleAndroidAndroid P
0 likes · 10 min read
Adapting Android P Activity Lifecycle Hooks for the 分身大师 Plugin Framework
Hujiang Technology
Hujiang Technology
Jun 26, 2017 · Mobile Development

iOS Network Monitoring: NSURLProtocol, Hook Techniques, and NSURLSessionTaskMetrics

The article explains the challenges of mobile network environments in China, introduces connection migration issues, and presents iOS network monitoring solutions using NSURLProtocol, code injection (Hook) with Method Swizzling, NSProxy, and Fishhook, as well as detailed usage of NSURLSessionTaskMetrics for performance analysis.

FishhookHookMethod Swizzling
0 likes · 18 min read
iOS Network Monitoring: NSURLProtocol, Hook Techniques, and NSURLSessionTaskMetrics
360 Quality & Efficiency
360 Quality & Efficiency
Apr 29, 2016 · Mobile Development

Function-Level Performance Testing for Android Apps Using Hook Techniques

This article explains how to perform function-level performance testing on Android applications by leveraging Hook frameworks to monitor each method’s execution time and call count, detailing function selection, class categorization, monitoring levels, data collection, result analysis, and practical implementation considerations.

AndroidFunction MonitoringHook
0 likes · 10 min read
Function-Level Performance Testing for Android Apps Using Hook Techniques
Baidu Tech Salon
Baidu Tech Salon
Oct 17, 2014 · Information Security

How to Hook and Hide JavaScript APIs to Thwart XSS Attacks

This article explores practical techniques for intercepting and protecting JavaScript APIs—such as setAttribute—using MutationObserver, API hooks, random token naming, property hiding, and recursive iframe monitoring to build a resilient front‑end defense against XSS and other injection attacks.

API interceptionHookJavaScript
0 likes · 14 min read
How to Hook and Hide JavaScript APIs to Thwart XSS Attacks