#include "minidump/minidump_writable.h"
#include <stdint.h>
#include <iterator>
#include "base/check_op.h"
#include "base/logging.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"
namespace {
constexpr size_t kMaximumAlignment = …;
}
namespace crashpad {
namespace internal {
MinidumpWritable::~MinidumpWritable() { … }
bool MinidumpWritable::WriteEverything(FileWriterInterface* file_writer) { … }
void MinidumpWritable::RegisterRVA(RVA* rva) { … }
void MinidumpWritable::RegisterRVA(RVA64* rva64) { … }
void MinidumpWritable::RegisterLocationDescriptor(
MINIDUMP_LOCATION_DESCRIPTOR* location_descriptor) { … }
void MinidumpWritable::RegisterLocationDescriptor(
MINIDUMP_LOCATION_DESCRIPTOR64* location_descriptor64) { … }
MinidumpWritable::MinidumpWritable()
: … { … }
bool MinidumpWritable::Freeze() { … }
size_t MinidumpWritable::Alignment() { … }
std::vector<MinidumpWritable*> MinidumpWritable::Children() { … }
MinidumpWritable::Phase MinidumpWritable::WritePhase() { … }
size_t MinidumpWritable::WillWriteAtOffset(
Phase phase,
FileOffset* offset,
std::vector<MinidumpWritable*>* write_sequence) { … }
bool MinidumpWritable::WillWriteAtOffsetImpl(FileOffset offset) { … }
bool MinidumpWritable::WritePaddingAndObject(FileWriterInterface* file_writer) { … }
}
}