mach_starFree code injection and function overriding tool for Mac OS X | |
Download |
mach_star Ranking & Summary
Advertisement
- License:
- Freeware
- Price:
- FREE
- Publisher Name:
- Jonathan Rentzsch
- Publisher web site:
- http://github.com/rentzsch
- Operating Systems:
- Mac OS X
- File Size:
- 326 KB
mach_star Tags
mach_star Description
Free code injection and function overriding tool for Mac OS X mach_star is an open-source code suite for replacing, suppressing, and/or extending Mac OS X functionality at a very low level. mach_star's principal components are mach_override (replace and/or extend existing functions at runtime) and mach_inject (dynamically load your code into a running process). If you are new to mach_star, be sure to check out the documentation and project layout to get the lay of the land.NOTE: mach_star is developed, provided and licensed under the terms of the Creative Commons Attribution License 2.0. What's New in This Release: · New API function: mach_override_ptr(). Use it to override by function address (instead of C-string function symbol name). · mach_override() now uses mach_override_ptr() under the hood. The practical difference is that mach_override() will now assert()+die when a symbol can’t be found, instead of NULL-deference+die. Meh, it should actually return an error. · Merry Christmas! · Add test_mach_override. which exercises mach_override and screams if it fails. First baby step in covering this code in tests. Right now it covers overriding+reentry of local functions by pointer and overriding+reentry of system functions by pointer and name. For completeness sake, it should also test just overriding (wholesale replacement, sans reentry). The test is a little weird, I have to introduce a level of indirection (function pointers) to get past gcc’s optimizer (see Design note: in test_mach_override.h for details).
mach_star Related Software