Index: src/processor/minidump_processor.cc |
=================================================================== |
--- src/processor/minidump_processor.cc (revision 1491) |
+++ src/processor/minidump_processor.cc (working copy) |
@@ -51,7 +51,8 @@ |
SourceLineResolverInterface *resolver) |
: frame_symbolizer_(new StackFrameSymbolizer(supplier, resolver)), |
own_frame_symbolizer_(true), |
- enable_exploitability_(false) { |
+ enable_exploitability_(false), |
+ enable_objdump_(false) { |
} |
MinidumpProcessor::MinidumpProcessor(SymbolSupplier *supplier, |
@@ -59,7 +60,8 @@ |
bool enable_exploitability) |
: frame_symbolizer_(new StackFrameSymbolizer(supplier, resolver)), |
own_frame_symbolizer_(true), |
- enable_exploitability_(enable_exploitability) { |
+ enable_exploitability_(enable_exploitability), |
+ enable_objdump_(false) { |
} |
MinidumpProcessor::MinidumpProcessor(StackFrameSymbolizer *frame_symbolizer, |
@@ -66,7 +68,8 @@ |
bool enable_exploitability) |
: frame_symbolizer_(frame_symbolizer), |
own_frame_symbolizer_(false), |
- enable_exploitability_(enable_exploitability) { |
+ enable_exploitability_(enable_exploitability), |
+ enable_objdump_(false) { |
assert(frame_symbolizer_); |
} |
@@ -289,7 +292,9 @@ |
// rating. |
if (enable_exploitability_) { |
scoped_ptr<Exploitability> exploitability( |
- Exploitability::ExploitabilityForPlatform(dump, process_state)); |
+ Exploitability::ExploitabilityForPlatform(dump, |
+ process_state, |
+ enable_objdump_)); |
// The engine will be null if the platform is not supported |
if (exploitability != NULL) { |
process_state->exploitability_ = exploitability->CheckExploitability(); |