#include "snapshot/minidump/process_snapshot_minidump.h"
#include <utility>
#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "minidump/minidump_extensions.h"
#include "snapshot/memory_map_region_snapshot.h"
#include "snapshot/minidump/minidump_simple_string_dictionary_reader.h"
#include "snapshot/minidump/minidump_string_reader.h"
#include "util/file/file_io.h"
namespace crashpad {
namespace internal {
class MemoryMapRegionSnapshotMinidump : public MemoryMapRegionSnapshot { … };
}
ProcessSnapshotMinidump::ProcessSnapshotMinidump()
: … { … }
ProcessSnapshotMinidump::~ProcessSnapshotMinidump() { … }
bool ProcessSnapshotMinidump::Initialize(FileReaderInterface* file_reader) { … }
crashpad::ProcessID ProcessSnapshotMinidump::ProcessID() const { … }
crashpad::ProcessID ProcessSnapshotMinidump::ParentProcessID() const { … }
void ProcessSnapshotMinidump::SnapshotTime(timeval* snapshot_time) const { … }
void ProcessSnapshotMinidump::ProcessStartTime(timeval* start_time) const { … }
void ProcessSnapshotMinidump::ProcessCPUTimes(timeval* user_time,
timeval* system_time) const { … }
void ProcessSnapshotMinidump::ReportID(UUID* report_id) const { … }
void ProcessSnapshotMinidump::ClientID(UUID* client_id) const { … }
const std::map<std::string, std::string>&
ProcessSnapshotMinidump::AnnotationsSimpleMap() const { … }
const SystemSnapshot* ProcessSnapshotMinidump::System() const { … }
std::vector<const ThreadSnapshot*> ProcessSnapshotMinidump::Threads() const { … }
std::vector<const ModuleSnapshot*> ProcessSnapshotMinidump::Modules() const { … }
std::vector<UnloadedModuleSnapshot> ProcessSnapshotMinidump::UnloadedModules()
const { … }
const ExceptionSnapshot* ProcessSnapshotMinidump::Exception() const { … }
std::vector<const MemoryMapRegionSnapshot*> ProcessSnapshotMinidump::MemoryMap()
const { … }
std::vector<HandleSnapshot> ProcessSnapshotMinidump::Handles() const { … }
std::vector<const MemorySnapshot*> ProcessSnapshotMinidump::ExtraMemory()
const { … }
const ProcessMemory* ProcessSnapshotMinidump::Memory() const { … }
std::vector<const MinidumpStream*>
ProcessSnapshotMinidump::CustomMinidumpStreams() const { … }
bool ProcessSnapshotMinidump::InitializeCrashpadInfo() { … }
bool ProcessSnapshotMinidump::InitializeMiscInfo() { … }
bool ProcessSnapshotMinidump::InitializeModules() { … }
bool ProcessSnapshotMinidump::InitializeModulesCrashpadInfo(
std::map<uint32_t, MINIDUMP_LOCATION_DESCRIPTOR>*
module_crashpad_info_links) { … }
bool ProcessSnapshotMinidump::InitializeMemoryInfo() { … }
bool ProcessSnapshotMinidump::InitializeExtraMemory() { … }
bool ProcessSnapshotMinidump::InitializeThreads() { … }
bool ProcessSnapshotMinidump::InitializeThreadNames() { … }
bool ProcessSnapshotMinidump::InitializeSystemSnapshot() { … }
bool ProcessSnapshotMinidump::InitializeCustomMinidumpStreams() { … }
bool ProcessSnapshotMinidump::InitializeExceptionSnapshot() { … }
}