mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
764bd4d432
This patch adds the following pattern to our x64 detour so that we can hook APIs even though a target is already detoured by another application. ``` mov rax, imm64 push rax ret ``` We already have `PatchIfTargetIsRecognizedTrampoline` to detour the pattern `mov; jmp`. There is another variation using `push rax;ret` to jump. Differential Revision: https://phabricator.services.mozilla.com/D53877 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
gtest | ||
interceptor | ||
moz.build | ||
ShowSSEConfig.cpp | ||
TestBaseProfiler.cpp | ||
TestNativeNt.cpp | ||
TestPrintf.cpp |