rentzsch / mach_star

code injection and function overriding for Mac OS X
254 stars 46 forks source link

Feature request -- support overriding signal() and longjmp() #6

Closed ramosian-glider closed 13 years ago

ramosian-glider commented 13 years ago

We've started using mach_override in AddressSanitizer (http://code.google.com/p/address-sanitizer) and patched mach_override.c a little in order to fix the compilation errors and support the instructions necessary to override signal() and longjmp() on x86 and x86_64. If you're interested in upstreaming our bits, the diff is at http://code.google.com/p/address-sanitizer/source/diff?spec=svn628&old=627&r=629&format=side&path=%2Ftrunk%2Fasan%2Fmach_override.c