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?
Hook a C function
752 Views Asked by Paul Warkentin At
1
There are 1 best solutions below
Related Questions in C
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in MACOS
- How do I customize NSOutlineView to have border color?
- Force sublime text to use PATH from the shell value
- Do executable files always open a terminal window on MacOS?
- setting OpenGL version in objective-C
- C std library don't appear to be linked in object file
- Cross compile simple standard C program on Linux for Mac
- How to generate request format for WCF web service method for Mac and iPhone
- Bundle Multiple Xamarin apps in one pkg installer
- How to Handle Command Line Prompt from a Cocoa App
- AVFoundation - Process each image separately
- CMYK NSImage get pixel data
- how i get the mac of ibeacon or BLE
- Set JAVA_HOME on Mac
- Finding active IPv6 interfaces under Mac OS (using Python)
- OSX: Why is my launchd agent running my script twice?
Related Questions in HOOK
- How to make Homeslider Banner work in custom hook location
- Customize Liferay search portlet
- Modify files and commit after Branch creation in GIT via Hook
- Removing a Wordpress action added from a Plugin and than adding a new action in place of that
- In WHMCS user can login with every wrong or right password
- To Hook Web Content Search Portlet
- Overriding class signature in java
- Sonata Admin: Prevent a persist for a specific condition
- Is it posible to hook redis before key expired
- Redis hooking (publish-subscribe) under stress tests - performance under load
- Are static members in XPosed hook classes shared between processes?
- Log-in Portlet Hook
- Apache Subversion pre-commit to restrict files
- Mercurial list files from changegroup
- Taking Screeshot of extern Window which have an OpenGL ES Window inside
Related Questions in CORE-AUDIO
- How to play sound only in one ear i.e. left or right at a time using AudioUnit
- set an iPhone microphone arrray
- Unable to AUGraphStart a simple Voice-Processing I/O with 2 render callbacks
- AUGraph on iOS takes seconds to start again after a pause (stop) using TAAE
- VoIP limiting the number of frames in rendercallback
- IOS and FFT (vDSP_fft_zrip): frequencies below appr. 100 Hz are cut off - why?
- How do you dynamically add new instruments to AUGraph
- MusicTrackSetDestNode Reseting sound of sampler for old Musictracks
- How can I retrieve PCM sample data from an audio clip in iOS?
- ExtAudioFileWrite creates silent m4a
- How to capture native OSX audio data?
- Mac Core Audio output buffer played after AudioDeviceIOProc returns?
- AUAudioUnit VoiceProcessingIO not calling inputHandler on macOS
- AudioToolBox Recorder gets affect by AVFoundation AudioPlayer
- Inter App Audio technology : make effect node and instrument node independent
Related Questions in FUNCTION-INTERPOSITION
- Interposing code into an existing apk
- How to hook system calls of my android app
- Will using DYLD_INTERPOSE for a C function in one iOS static library interpose it for all other libraries in the bundle?
- Symbol interposition on macOS
- How can I get the PID of a new process before it executes?
- Chrome does not start when preloading read system call using LD_PRELOAD
- malloc function interposition in the standard C and C++ libraries
- Function Interposing on OSX Mavericks
- Mach Injection: System call open is not getting interposed when injecting in Excel
- Interposing part of a shared object by soname
- Is it possible to make an arbitrary program ignore signals?
- Interpose C function defined as function pointer inside a structure
- how do I interpose on Long/String compareTo()?
- Capturing Display / Monitor Images, Sending Keyboard Input on Linux
- How to catch unintentional function interpositioning?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you look closely, you can find out that MobileSubstrate runs on OS X as well.