зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1493845: Disable cross-process DLL blocklist in ASAN builds; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D6745 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
816dd96825
Коммит
e11485f17c
|
@ -36,7 +36,13 @@ static bool
|
|||
PostCreationSetup(HANDLE aChildProcess, HANDLE aChildMainThread,
|
||||
const bool aIsSafeMode)
|
||||
{
|
||||
// The launcher process's DLL blocking code is incompatible with ASAN because
|
||||
// it is able to execute before ASAN itself has even initialized.
|
||||
#if defined(MOZ_ASAN)
|
||||
return true;
|
||||
#else
|
||||
return mozilla::InitializeDllBlocklistOOP(aChildProcess);
|
||||
#endif // defiend(MOZ_ASAN)
|
||||
}
|
||||
|
||||
#if !defined(PROCESS_CREATION_MITIGATION_POLICY_IMAGE_LOAD_PREFER_SYSTEM32_ALWAYS_ON)
|
||||
|
|
Загрузка…
Ссылка в новой задаче