mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
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:
parent
816dd96825
commit
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)
|
||||
|
Loading…
Reference in New Issue
Block a user