This source file includes following definitions.
- SignalChromeElf
- DllMain
#include <windows.h>
#include "chrome_elf/chrome_elf_main.h"
#include "chrome_elf/blacklist/blacklist.h"
#include "chrome_elf/breakpad.h"
#include "chrome_elf/ntdll_cache.h"
void SignalChromeElf() {
blacklist::ResetBeacon();
}
BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
if (reason == DLL_PROCESS_ATTACH) {
InitializeCrashReporting();
__try {
InitCache();
blacklist::Initialize(false);
} __except(GenerateCrashDump(GetExceptionInformation())) {
}
}
return TRUE;
}