Thursday, January 2, 2014 [Tweets] [Favorites]

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

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!

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment