Friday, March 13, 2015


The right way to ‪#‎hook‬ the ‪#‎PR_Write‬ f-n in ‪#‎Firefox‬ Summary: instead of instantly re-patching the f-n prologue (mprotect / memcpy) which lead to frequent crashes, one could patch the PR_Write once and mock its behaviour (the original function is just an interface to call the implementation of the method, and it's stable, the same code is used from FF 1.0 up to the latest).

No comments:

Post a Comment