gecko-dev/mozglue/misc
Toshihito Kikuchi 3518bfb5e3 Bug 1599015 - Graciously return a failure if we fail to change the attribute of a trampoline. r=handyman,dmajor
Our detour allocates a trampoline with `PAGE_EXECUTE_READ` first, and then makes
it writable before use.  If the dynamic code policy is enabled after allocation,
we fail to change the attribute, and crash the process because we try to write
data into a readonly page.  We need to check the validity of a trampoline before
writing data.

Differential Revision: https://phabricator.services.mozilla.com/D56983

--HG--
extra : moz-landing-system : lando
2020-01-02 17:08:33 +00:00
..
decimal
interceptor Bug 1599015 - Graciously return a failure if we fail to change the attribute of a trampoline. r=handyman,dmajor 2020-01-02 17:08:33 +00:00
AutoProfilerLabel.cpp
AutoProfilerLabel.h
ConditionVariable_posix.cpp
ConditionVariable_windows.cpp
Debug.h
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 1598196 - Support disabling the linker on Android in the code. r=froydnj 2019-11-21 14:57:24 +00:00
Mutex_posix.cpp
Mutex_windows.cpp
MutexPlatformData_posix.h
MutexPlatformData_windows.h
NativeNt.h Bug 1598703: Part 1 - Rename PEHeaders::GetIATForModule to PEHeaders::GetImportDescriptor; r=mhowell 2019-12-23 23:11:07 +00:00
nsWindowsDllInterceptor.h Bug 1598703: Part 2 - Add IAT Patching capabilities to the Windows DLL Interceptor; r=mhowell 2019-12-23 23:11:35 +00:00
PlatformConditionVariable.h
PlatformMutex.h
Printf.cpp Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj 2019-12-20 07:16:43 +00:00
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 1598196 - Support disabling the linker on Android in the code. r=froydnj 2019-11-21 14:57:24 +00:00
StackWalk.h
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
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
WindowsMapRemoteView.h
WindowsProcessMitigations.cpp
WindowsProcessMitigations.h
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