gecko-dev/mozglue
Toshihito Kikuchi 764bd4d432 Bug 1596930 - Add new patterns to detour. r=handyman
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
2019-11-22 00:36:46 +00:00
..
android Bug 1558885 - Use separate directory for android gtest libxul; r=bc,nalexander 2019-10-10 21:38:01 +00:00
baseprofiler Bug 1595482: change "responsiveness" field to "eventDelay" in profiler r=canaltinova 2019-11-18 14:26:14 +00:00
build Bug 1590423 - Suppress races related to Rust std::sync::Arc. r=jseward 2019-10-23 10:02:14 +00:00
dllservices Backed out changeset 1603f5abc56e (bug 1420363) for perma fails on test_busy_hang.xul. CLOSED TREE 2019-11-16 13:00:43 +02:00
linker Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
misc Bug 1596930 - Add new patterns to detour. r=handyman 2019-11-22 00:36:46 +00:00
static Bug 1594998 - Make standalone SpiderMonkey use libxul-like panic. r=froydnj 2019-11-15 13:14:42 +00:00
tests Bug 1596930 - Add new patterns to detour. r=handyman 2019-11-22 00:36:46 +00:00
moz.build Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell 2019-09-23 20:18:41 +00:00