VMInstrumenter
VMInstrumenter copied to clipboard
A simple Objective-C singleton to instrument, protect, trace, and suppress selectors at runtime
Check if there is any way to get the address of the caller of a method. The debugger already does that, jumping on the previous frame of the stacktrace.
Example: Instrumenting a protected selector, Restoring an instrumented selector, so on.
This would most likely solve #29. Moreover, using inline methods, things would get safer (hidden in the stacktrace) and easier (no fix would be needed for looking up the right...
The method would wrap the selector execution with a @try @catch so that exceptions would be killed