gecko-dev/browser/app/winlauncher
Toshihito Kikuchi 7034355c29 Bug 1588245 - Introduce an extra errorcode inside WindowsDllInterceptor. r=mhowell
The previous commit d8315e4ed18d introduced a new telemetry field
in the launcher process ping to collect the assembly pattern of
a target function on detour failure, but most of the crash instances
do not have a value in the field.  This means the failure happens
before or after `CreateTrampoline`.

To narrow down the root cause, this patch puts a fine-grained error value
in the "hresult" field instead of the hardcoded ERROR_UNIDENTIFIED_ERROR.

This patch also adds `IsPageAccessible` check before fetching data from
a different process because fetching data from an invalid address hits
`MOZ_RELEASE_ASSERT` in `EnsureLimit`, resulting in crash without sending
the launcher process failure.

Differential Revision: https://phabricator.services.mozilla.com/D91881
2020-09-30 20:09:22 +00:00
..
freestanding Bug 1630444: Part2 - Add HandleLauncherError to DllServices. r=aklotz 2020-08-26 19:01:40 +00:00
test Bug 1630444: Part1 - Put LauncherError behind MOZ_USE_LAUNCHER_ERROR. r=aklotz 2020-08-26 19:01:44 +00:00
DllBlocklistInit.cpp Bug 1588245 - Introduce an extra errorcode inside WindowsDllInterceptor. r=mhowell 2020-09-30 20:09:22 +00:00
DllBlocklistInit.h Bug 1630281 - Cache the executable's IAT for ntdll.dll before COM initialization. r=mhowell 2020-04-30 18:26:18 +00:00
ErrorHandler.cpp Bug 1588245 - Collect the assembly pattern of a target function on detour failure. r=mhowell 2020-09-17 01:42:26 +00:00
ErrorHandler.h Bug 1630444: Part3 - Send the launcher process failure ping from the browser process. r=aklotz 2020-08-26 19:01:27 +00:00
LaunchUnelevated.cpp Bug 1630444: Part1 - Put LauncherError behind MOZ_USE_LAUNCHER_ERROR. r=aklotz 2020-08-26 19:01:44 +00:00
LaunchUnelevated.h Bug 1642577 - De-elevate the process with CreateProcessAsUser if the compat flag RUNASADMIN is set. r=aklotz 2020-06-22 18:37:49 +00:00
LauncherProcessWin.cpp Bug 1630444: Part1 - Put LauncherError behind MOZ_USE_LAUNCHER_ERROR. r=aklotz 2020-08-26 19:01:44 +00:00
LauncherProcessWin.h
NtLoaderAPI.cpp
ProcThreadAttributes.h
SameBinary.h Bug 1648384 - Make use of Result::propagateErr. r=mhowell 2020-06-25 16:07:28 +00:00
moz.build