BlockHook is an Objective-C library that enables hooking into the execution of blocks (closures). It allows developers to intercept, modify, and monitor block invocations for debugging, analytics, or altering app behavior.
Features
- Hooks before, after, and instead of block execution
- Allows modifying block arguments and return values dynamically
- Supports capturing and analyzing block usage for debugging
- Lightweight and compatible with existing Objective-C code
- No need to modify block declarations for hooking
- Useful for method swizzling-like behaviors on blocks
Categories
LibrariesLicense
MIT LicenseFollow BlockHook
Other Useful Business Software
AI-powered SAST and AppSec platform that helps companies find and fix vulnerabilities.
ZeroPath (YC S24) is an AI-native application security platform that delivers comprehensive code protection beyond traditional SAST. Founded by security engineers from Tesla and Google, ZeroPath combines large language models with advanced program analysis to find and automatically fix vulnerabilities.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of BlockHook!