Thursday, January 2, 2014

RuntimeWrapping

Kyle Sluder:

This project demonstrates how to wrap a C function—specifically, printf(3).

Seems like this could be useful for debugging in the field.

2 Comments RSS · Twitter

Interesting, but dyld function interposing provide the same functionality without the need to link on a different framework.

And with dyld interposing, you don't have to bother with resolving the original symbol manually.

http://www.opensource.apple.com/source/dyld/dyld-97.1/include/mach-o/dyld-interposing.h

@Jean-Daniel Thanks for the link!

Leave a Comment