Tagged articles
3 articles
Page 1 of 1
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
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