Closed lapcat closed 12 years ago
Thanks for the fixes! The testing stuff fell into disrepair when Apple broke unit testing for folks in Central Time Zone (no kidding) and I haven't gone back and fixed it yet. Ideally I'd have one project that could test 10.3 PPC through 10.7 x86-64, but that may be way too ambitious.
I heard about the Central time thing but didn't experience it myself. I should write some unit tests someday. ;-)
1) Comment out testSystemFunctionOverrideByName, because it doesn't compile.
2) Fix test so that it works on Mac OS X 10.7 Lion.
3) Allow mach_override to patch and relocate code that has already been patched or might otherwise contain relative jmp instructions. This fixes incompatibility with Rogue Amoeba's Instant On component.