gecko-dev/mozglue/misc
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
..
decimal Bug 1554063 - Move decimal to mozglue. r=jwalden 2019-05-29 06:57:28 +00:00
interceptor Bug 1596930 - Add new patterns to detour. r=handyman 2019-11-22 00:36:46 +00:00
AutoProfilerLabel.cpp Bug 1573273: Add ProfilerLabelBegin and ProfilerLabelEnd to mozglue; r=gerald 2019-08-14 03:46:41 +00:00
AutoProfilerLabel.h Bug 1573273: Add ProfilerLabelBegin and ProfilerLabelEnd to mozglue; r=gerald 2019-08-14 03:46:41 +00:00
ConditionVariable_posix.cpp
ConditionVariable_windows.cpp
Debug.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
DynamicallyLinkedFunctionPtr.h Bug 1580293: Ensure that parameter packs in mozglue/misc are expanded as rvalue references; r=mhowell 2019-09-10 19:55:44 +00:00
ImportDir.h Bug 1587539 - Skip bounds check when getting IAT if Import Directory is tampered. r=aklotz 2019-11-06 21:54:55 +00:00
moz.build Bug 1572238 - Dump assertion stacks using __android_log_print. r=Ehsan 2019-09-24 20:50:41 +00:00
Mutex_posix.cpp
Mutex_windows.cpp
MutexPlatformData_posix.h
MutexPlatformData_windows.h
NativeNt.h Bug 1587642 - Make the blocklist work when the process heap is not initialized. r=aklotz 2019-11-15 22:53:49 +00:00
nsWindowsDllInterceptor.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
PlatformConditionVariable.h
PlatformMutex.h
Printf.cpp
Printf.h
StackWalk_windows.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
StackWalk.cpp Bug 1572238 - Dump assertion stacks using __android_log_print. r=Ehsan 2019-09-24 20:50:41 +00:00
StackWalk.h Bug 1573090 - Part 2: Look up ELF symbol tables directly when pre-symbolicating Gecko profiles on Linux. r=gerald 2019-08-23 05:45:16 +00:00
TimeStamp_darwin.cpp Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in TimeStamp r=froydnj 2019-11-20 21:06:33 +00:00
TimeStamp_posix.cpp Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in various dirs r=glandium 2019-08-30 09:11:19 +00:00
TimeStamp_windows.cpp Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in TimeStamp r=froydnj 2019-11-20 21:06:33 +00:00
TimeStamp_windows.h
TimeStamp.cpp
TimeStamp.h
WindowsMapRemoteView.cpp Bug 1571875: Part 2 - Change over all existing static local uses of DynamicallyLinkedFunctionPtr to use StaticDynamicallyLinkedFunctionPtr instead; r=mhowell 2019-08-07 15:58:09 +00:00
WindowsMapRemoteView.h
WindowsProcessMitigations.cpp Bug 1571875: Part 2 - Change over all existing static local uses of DynamicallyLinkedFunctionPtr to use StaticDynamicallyLinkedFunctionPtr instead; r=mhowell 2019-08-07 15:58:09 +00:00
WindowsProcessMitigations.h Bug 1546545: Part 2 - Create empty TrampolineCollection if the process sandbox forbids dynamic code r=aklotz 2019-04-29 21:07:20 +00:00
WindowsUnicode.cpp Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell 2019-09-23 20:18:41 +00:00
WindowsUnicode.h Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell 2019-09-23 20:18:41 +00:00
WinUtils.h Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell 2019-09-23 20:18:41 +00:00