forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert of [chrome_elf] Big cleanup and removing dependencies that rec…
…ently crept in. Part 1. (patchset chromium#9 id:300001 of https://codereview.chromium.org/2183263003/ ) Reason for revert: Win7 Tests (dbg)(1) started failing. https://uberchromegw.corp.google.com/i/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/51720 Excerpt from step 103, chrome_elf_unittests on Windows-7-SP1 chrome_elf_unittests on Windows-7-SP1 : [ RUN ] HookTest.IATHook Assertion failed: false, file c:\b\c\b\win\src\chrome_elf\hook_util\hook_util.cc, line 302 [43/49] HookTest.IATHook (TIMED OUT) Original issue's description: > [chrome_elf] Big cleanup and removing dependencies that recently crept in. PART 1. > > - Moving all crash related APIs into one place (and out of chrome_elf_main). > - Started to clean up external dependencies - starting with hook_utils. > - Removed dependency on base/win/iat_patch_function. > > BUG=631771 > > Committed: https://crrev.com/d2767f8b41a8f7f70bddbd0783a8ef27a9370e58 > Cr-Commit-Position: refs/heads/master@{#411982} TBR=robertshield@chromium.org,pennymac@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=631771 Review-Url: https://codereview.chromium.org/2242323002 Cr-Commit-Position: refs/heads/master@{#412026}
- Loading branch information
avi
authored and
Commit bot
committed
Aug 15, 2016
1 parent
b6f12c5
commit 4e989fa
Showing
21 changed files
with
359 additions
and
862 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright 2016 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "chrome_elf/blacklist/crashpad_helper.h" | ||
|
||
#include "third_party/crashpad/crashpad/client/crashpad_client.h" | ||
|
||
int GenerateCrashDump(EXCEPTION_POINTERS* exception_pointers) { | ||
crashpad::CrashpadClient::DumpWithoutCrash( | ||
*(exception_pointers->ContextRecord)); | ||
return EXCEPTION_CONTINUE_SEARCH; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2016 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef CHROME_ELF_BLACKLIST_CRASHPAD_HELPER_H_ | ||
#define CHROME_ELF_BLACKLIST_CRASHPAD_HELPER_H_ | ||
|
||
#include <windows.h> | ||
|
||
// Exception handler for exceptions in chrome_elf which need to be passed on to | ||
// the next handler in the chain. Examples include exceptions in DllMain, | ||
// blacklist interception code, etc. | ||
int GenerateCrashDump(EXCEPTION_POINTERS* exception_pointers); | ||
|
||
#endif // CHROME_ELF_BLACKLIST_CRASHPAD_HELPER_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.