зеркало из https://github.com/mozilla/gecko-dev.git
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 |
||
---|---|---|
.. | ||
android | ||
baseprofiler | ||
build | ||
dllservices | ||
linker | ||
misc | ||
static | ||
tests | ||
moz.build |