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: |