rentzsch.com: tales from the red shed

Rich Wareham on mach_inject

mach_inject
Michael Bryan Bell interviews Rich Wareham of Desktop Manager fame.

Interestingly, Rich only uses mach_inject. He didn't need to use mach_override. And that's great. I came up with two packages since I didn't see a need for them to be put into one package. It complicates the story a little bit, and I'm lame enough that I used a name indicative of the technology instead of something cool, but I'm glad to see it paying off like this.

Yeah, so mach_inject works great with mach_override, but the two stand alone. For example, you can use mach_inject to inject method-swizzling Cocoa bundles. And mach_override can, say, make malloc() return NULL on demand, which is otherwise rather uncommon (except on Mac OS 9). Great for testing error-handling code.

Thanks for the heads-up on the interview, Chuck.

Tuesday, July 06, 2004
12:00 AM