Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: src/processor/exploitability.cc

Issue 1273823004: Add check for Linux minidump ending on bad write for exploitability rating. (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/google_breakpad/processor/minidump_processor.h ('k') | src/processor/exploitability_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/exploitability.cc
===================================================================
--- src/processor/exploitability.cc (revision 1491)
+++ src/processor/exploitability.cc (working copy)
@@ -58,6 +58,13 @@
Exploitability *Exploitability::ExploitabilityForPlatform(
Minidump *dump,
ProcessState *process_state) {
+ return ExploitabilityForPlatform(dump, process_state, false);
+}
+
+Exploitability *Exploitability::ExploitabilityForPlatform(
+ Minidump *dump,
+ ProcessState *process_state,
+ bool enable_objdump) {
Exploitability *platform_exploitability = NULL;
MinidumpSystemInfo *minidump_system_info = dump->GetSystemInfo();
if (!minidump_system_info)
@@ -75,7 +82,9 @@
break;
}
case MD_OS_LINUX: {
- platform_exploitability = new ExploitabilityLinux(dump, process_state);
+ platform_exploitability = new ExploitabilityLinux(dump,
+ process_state,
+ enable_objdump);
break;
}
case MD_OS_MAC_OS_X:
« no previous file with comments | « src/google_breakpad/processor/minidump_processor.h ('k') | src/processor/exploitability_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698