SwizzleBlocker
🚷Proof of concept for a library that can intercept calls to method_exchangeImplementations
and block them
Caution
This is in no way safe. Please don't ever use this in production code
Features
Swizzle Blocker
Swizzle Notification
Installation
- Download the project and build the frameworks
- Drag the framework you want to use in your xcode project.
- Select sign and embed for the framework
- Build and run your app (make sure to use static linking for the frameworks you want to inspect)
TODOs
- Copy Paste Style Popup
- Hook more objc runtime functions related to swizzling
Possible Uses
- Disable swizzling in the whole app
- Inspect the use of swizzling
- Decide to allow / disallow swizzling on a per case basis