Properly initialize enable_objdump_for_exploitability_

Change-Id: I30fab42e2a1e7d0abf970b825e66a0db8b6a0fd5
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4557444
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Mark Brand 2023-05-23 17:26:17 +02:00 committed by Joshua Peraza
parent 64a53c1904
commit 6857c7c65f

View file

@ -63,7 +63,8 @@ MinidumpProcessor::MinidumpProcessor(SymbolSupplier* supplier,
: frame_symbolizer_(new StackFrameSymbolizer(supplier, resolver)),
own_frame_symbolizer_(true),
enable_exploitability_(false),
enable_objdump_(false) {
enable_objdump_(false),
enable_objdump_for_exploitability_(false) {
}
MinidumpProcessor::MinidumpProcessor(SymbolSupplier* supplier,
@ -72,7 +73,8 @@ MinidumpProcessor::MinidumpProcessor(SymbolSupplier* supplier,
: frame_symbolizer_(new StackFrameSymbolizer(supplier, resolver)),
own_frame_symbolizer_(true),
enable_exploitability_(enable_exploitability),
enable_objdump_(false) {
enable_objdump_(false),
enable_objdump_for_exploitability_(false) {
}
MinidumpProcessor::MinidumpProcessor(StackFrameSymbolizer* frame_symbolizer,
@ -80,7 +82,8 @@ MinidumpProcessor::MinidumpProcessor(StackFrameSymbolizer* frame_symbolizer,
: frame_symbolizer_(frame_symbolizer),
own_frame_symbolizer_(false),
enable_exploitability_(enable_exploitability),
enable_objdump_(false) {
enable_objdump_(false),
enable_objdump_for_exploitability_(false) {
assert(frame_symbolizer_);
}