#include "minidump/minidump_unloaded_module_writer.h"
#include <limits>
#include <utility>
#include "base/check_op.h"
#include "minidump/minidump_writer_util.h"
#include "util/file/file_writer.h"
#include "util/numeric/in_range_cast.h"
#include "util/numeric/safe_assignment.h"
namespace crashpad {
MinidumpUnloadedModuleWriter::MinidumpUnloadedModuleWriter()
: … { … }
MinidumpUnloadedModuleWriter::~MinidumpUnloadedModuleWriter() { … }
void MinidumpUnloadedModuleWriter::InitializeFromSnapshot(
const UnloadedModuleSnapshot& unloaded_module_snapshot) { … }
const MINIDUMP_UNLOADED_MODULE*
MinidumpUnloadedModuleWriter::MinidumpUnloadedModule() const { … }
void MinidumpUnloadedModuleWriter::SetName(const std::string& name) { … }
void MinidumpUnloadedModuleWriter::SetTimestamp(time_t timestamp) { … }
bool MinidumpUnloadedModuleWriter::Freeze() { … }
size_t MinidumpUnloadedModuleWriter::SizeOfObject() { … }
std::vector<internal::MinidumpWritable*>
MinidumpUnloadedModuleWriter::Children() { … }
bool MinidumpUnloadedModuleWriter::WriteObject(
FileWriterInterface* file_writer) { … }
MinidumpUnloadedModuleListWriter::MinidumpUnloadedModuleListWriter()
: … { … }
MinidumpUnloadedModuleListWriter::~MinidumpUnloadedModuleListWriter() { … }
void MinidumpUnloadedModuleListWriter::InitializeFromSnapshot(
const std::vector<UnloadedModuleSnapshot>& unloaded_module_snapshots) { … }
void MinidumpUnloadedModuleListWriter::AddUnloadedModule(
std::unique_ptr<MinidumpUnloadedModuleWriter> unloaded_module) { … }
bool MinidumpUnloadedModuleListWriter::Freeze() { … }
size_t MinidumpUnloadedModuleListWriter::SizeOfObject() { … }
std::vector<internal::MinidumpWritable*>
MinidumpUnloadedModuleListWriter::Children() { … }
bool MinidumpUnloadedModuleListWriter::WriteObject(
FileWriterInterface* file_writer) { … }
MinidumpStreamType MinidumpUnloadedModuleListWriter::StreamType() const { … }
}