11.07.2015 Views

Down the Rabbit Hole - Reverse Engineering Mac OS X

Down the Rabbit Hole - Reverse Engineering Mac OS X

Down the Rabbit Hole - Reverse Engineering Mac OS X

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Function OverridingIdeally, overriding a system function would be simple:Discover <strong>the</strong> function’s entry in a universal table.Save off a pointer to <strong>the</strong> original code.Replace it with a pointer to your overriding code.Alas, <strong>Mac</strong>h’s linking model lacks any sort of centralizedbottleneck. This stands in contrast to CFM.Monday, February 9, 2009

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!