Tencent Cloud Developer
Sep 5, 2022 · Fundamentals
Static Function Hooking in Objective-C Using LLVM Pass
The article presents a technique for static function hooking in Objective‑C by writing a custom LLVM Pass that modifies the intermediate representation during compilation to inject stub calls at chosen points inside a function, and details the required LLVM setup, Pass implementation, Clang integration, and Xcode configuration.
Compilation ProcessFunction HookingIR Modification
0 likes · 11 min read