iSECPartners/Introspy-iOS

Wiki entry or README for adding custom tracers

KiranPanesar opened this issue · 2 comments

I'm trying to add a tracer for a custom class in my app. Is there a wiki entry somewhere on how to do this?

radj commented

You can study the code and follow the existing class hooks. As a hint, check src/hooks/UIPasteboardHooks.xm and see how this file is used in Tweak.xmi :)

Once you've done that, you will need to make changes in Introspy-Analyzer (if you need the HTML report) to accommodate your new method and class names. For that part, you can review how UIPasteboard is also used.

Ok cool. I can add an entry to the wiki on adding custom tracers once I've figured it out. Seems like it would be useful.