Question

I want to hook the function AudioUnitInitialize to grab the Audio Unit of an application by injecting a bundle at the application start.
I found an example (http://pastie.org/1882125) but it uses the function MSHookFunction to replace the function names. The problem is that I want to replace the functions on Mac OS X, not on iOS.
Is there another way to hook C functions?

Was it helpful?

Solution

If you look closely, you can find out that MobileSubstrate runs on OS X as well.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top