gecko-dev/toolkit/xre
Toshihito Kikuchi e83bcb5130 Bug 1630281 - Cache the executable's IAT for ntdll.dll before COM initialization. r=mhowell
When the browser process starts a sandbox process, we copy the executable's IAT
for ntdll.dll into the new process to prevent DLL injection via IAT tampering as
the launcher process does.  However, if IAT has been modified by a module injected
via `SetWindowHookEx`, the browser process cannot copy IAT because a modified IAT
is invalid in a different process, failing to start any sandbox processes.

The proposed fix is to cache IAT before COM initialization which may load
modules via `SetWindowHookEx` for the first time in the process.

Differential Revision: https://phabricator.services.mozilla.com/D73303
2020-04-30 18:26:18 +00:00
..
test Bug 1588113: Only consider the major version part when checking for downgrades. r=glandium 2020-04-16 19:12:50 +00:00
AssembleCmdLine.h Bug 1601905 - Add quotes for a path including whitespaces in ShellExecuteWithIFile. r=aklotz 2019-12-19 15:39:02 +00:00
AutoSQLiteLifetime.cpp
AutoSQLiteLifetime.h
Bootstrap.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in toolkit. r=mossop 2020-03-10 08:48:24 +00:00
Bootstrap.h Bug 1470591 - Part 6: Create a fork server process. r=gsvelto 2019-12-05 00:02:40 +00:00
CmdLineAndEnvUtils.cpp
CmdLineAndEnvUtils.h Bug 1610790: Part 1 - Use wmain in mozglue/tests. r=handyman 2020-02-12 02:23:57 +02:00
CreateAppData.cpp Bug 1568994 - Add Update URL template to application.ini, XREAppData, and Services.appinfo r=glandium 2020-03-26 00:57:13 +00:00
EventTracer.cpp
EventTracer.h
LauncherRegistryInfo.cpp Bug 1529593 - Make LauncherRegistryInfo delay write to the registry. r=aklotz 2019-10-14 17:14:54 +00:00
LauncherRegistryInfo.h Bug 1529593 - Make LauncherRegistryInfo delay write to the registry. r=aklotz 2019-10-14 17:14:54 +00:00
MacApplicationDelegate.h
MacApplicationDelegate.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
MacAutoreleasePool.h
MacAutoreleasePool.mm
MacLaunchHelper.h
MacLaunchHelper.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
ModuleEvaluator.cpp Bug 1625138 - Part 41: Remove no longer needed includes for mozilla/TypeTraits. r=froydnj 2020-03-28 16:00:09 +00:00
ModuleEvaluator.h Bug 1542830: Part 6 - Rewrite the untrusted modules processor in toolkit/xre; r=mhowell 2019-09-23 20:19:17 +00:00
ModuleVersionInfo.cpp Bug 1542830: Part 6 - Rewrite the untrusted modules processor in toolkit/xre; r=mhowell 2019-09-23 20:19:17 +00:00
ModuleVersionInfo.h Bug 1542830: Part 6 - Rewrite the untrusted modules processor in toolkit/xre; r=mhowell 2019-09-23 20:19:17 +00:00
PolicyChecks.h
ProfileReset.cpp
ProfileReset.h Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo 2019-12-11 17:44:54 +00:00
SafeMode.h Bug 1572838 - ensure osint commandline args are passed appropriately, r=mhowell,mossop 2019-08-20 19:51:34 +00:00
UIKitDirProvider.h
UIKitDirProvider.mm
UntrustedModulesData.cpp Backed out changeset 2540a369a5a8 (bug 1605478) on toshi's request CLOSED TREE 2020-03-16 18:55:21 +02:00
UntrustedModulesData.h Backed out changeset 2540a369a5a8 (bug 1605478) on toshi's request CLOSED TREE 2020-03-16 18:55:21 +02:00
UntrustedModulesProcessor.cpp Bug 1577217 - Enable the third-party-modules ping in Release build. r=aklotz 2020-03-19 22:23:58 +00:00
UntrustedModulesProcessor.h Bug 1522830: Part 8 - Update UntrustedModulesProcessor to support processing child processes; r=mhowell 2019-12-06 22:06:26 +00:00
WinDllServices.cpp Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika 2020-04-07 15:16:33 +00:00
WinDllServices.h Bug 1522830: Part 8 - Update UntrustedModulesProcessor to support processing child processes; r=mhowell 2019-12-06 22:06:26 +00:00
WinTokenUtils.cpp Bug 1567219 - Add a metric to collect how many users launch a process with Admin but without UAC. r=aklotz 2019-08-28 02:17:49 +00:00
WinTokenUtils.h Bug 1576697 - Use LauncherResult in WinHeaderOnlyUtils.h instead of WindowsErrorResult. r=aklotz 2019-09-07 18:17:45 +00:00
components.conf Bug 1596409 - P5: Enable necessary XPCOM components for using nsHttpTransaction in socket process r=dragana 2019-12-03 13:45:19 +00:00
glxtest.cpp Bug 1519636 - Automatically reformat recent changes using clang-format r=Ehsan 2020-01-21 09:51:27 +00:00
moz.build Bug 1625206 - Correctly check the default agent build flag in xre. r=bytesized 2020-03-26 17:29:14 +00:00
nsAndroidStartup.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsAppRunner.cpp Bug 1630281 - Cache the executable's IAT for ntdll.dll before COM initialization. r=mhowell 2020-04-30 18:26:18 +00:00
nsAppRunner.h Bug 1606880 - Implement fast shutdown prefs r=froydnj 2020-01-29 12:29:43 +00:00
nsAppStartupNotifier.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsAppStartupNotifier.h
nsCommandLineServiceMac.h
nsCommandLineServiceMac.mm
nsConsoleWriter.cpp Bug 1558653. Stop using [array] in nsIConsoleService. r=froydnj 2019-06-12 18:10:19 +00:00
nsEmbedFunctions.cpp Backed out 4 changesets (bug 1602832) for causing multiple xpcshell failures. 2020-04-23 16:25:26 +03:00
nsEmbeddingModule.cpp
nsGDKErrorHandler.cpp
nsGDKErrorHandler.h
nsIAppStartupNotifier.h Bug 1558306 - Clean up app-startup category/topics for readability. r=mconley 2019-06-12 17:50:13 +00:00
nsINativeAppSupport.idl Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug 2019-11-05 17:56:28 +00:00
nsIWinAppHelper.idl
nsIXREDirProvider.idl
nsNativeAppSupportBase.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in toolkit. r=mossop 2020-03-10 08:48:24 +00:00
nsNativeAppSupportBase.h
nsNativeAppSupportCocoa.mm Bug 1597508: Use WidgetUtils::DOMWindowToWidget to determine native window during reopen of Firefox on macOS. r=farre 2020-04-21 12:31:51 +00:00
nsNativeAppSupportDefault.cpp
nsNativeAppSupportUnix.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsNativeAppSupportWin.cpp
nsNativeAppSupportWin.h Bug 1606274 - Remove always-true MOZ_PHOENIX macro. r=firefox-build-system-reviewers,rstewart 2019-12-30 15:00:20 +00:00
nsSigHandlers.cpp Bug 1603250: Do not set ah_crap_handler signal handler in debug x86 Android builds; r=snorp 2019-12-16 20:15:01 +00:00
nsSigHandlers.h
nsUpdateDriver.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in toolkit. r=mossop 2020-03-10 08:48:24 +00:00
nsUpdateDriver.h
nsWindowsRestart.cpp
nsWindowsWMain.cpp
nsX11ErrorHandler.cpp
nsX11ErrorHandler.h
nsXREDirProvider.cpp Bug 1602401 - Remove a nested redundant #if/#endif pair r=mossop 2019-12-12 09:07:47 +00:00
nsXREDirProvider.h Bug 1579367 - Initialize XPCJSContext explicitly, after loading user prefs. r=kmag 2019-11-22 12:40:17 +00:00
platform.ini
updaterfileutils_osx.h
updaterfileutils_osx.mm