rentzsch / mach_star

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

Allow mach_override to patch empty function bodies. #10

Closed rsesek closed 13 years ago

rsesek commented 13 years ago

In Chromium we decided to make malloc_error_break() fatal by overriding it in order to catch heap corruption closer to the source, hopefully before it smashes our stack. We noticed that on 10.5 the size of this function is too small to override, so we needed to patch this.

rentzsch commented 13 years ago

Pulled. Nice work, thanks!