#include "snapshot/minidump/system_snapshot_minidump.h"
#include "base/notreached.h"
#include "snapshot/minidump/minidump_string_reader.h"
namespace crashpad {
namespace internal {
SystemSnapshotMinidump::SystemSnapshotMinidump()
: … { … }
SystemSnapshotMinidump::~SystemSnapshotMinidump() { … }
bool SystemSnapshotMinidump::Initialize(FileReaderInterface* file_reader,
RVA minidump_system_info_rva,
const std::string& version) { … }
CPUArchitecture SystemSnapshotMinidump::GetCPUArchitecture() const { … }
uint32_t SystemSnapshotMinidump::CPURevision() const { … }
uint8_t SystemSnapshotMinidump::CPUCount() const { … }
std::string SystemSnapshotMinidump::CPUVendor() const { … }
void SystemSnapshotMinidump::CPUFrequency(uint64_t* current_hz,
uint64_t* max_hz) const { … }
uint32_t SystemSnapshotMinidump::CPUX86Signature() const { … }
uint64_t SystemSnapshotMinidump::CPUX86Features() const { … }
uint64_t SystemSnapshotMinidump::CPUX86ExtendedFeatures() const { … }
uint32_t SystemSnapshotMinidump::CPUX86Leaf7Features() const { … }
bool SystemSnapshotMinidump::CPUX86SupportsDAZ() const { … }
SystemSnapshot::OperatingSystem SystemSnapshotMinidump::GetOperatingSystem()
const { … }
bool SystemSnapshotMinidump::OSServer() const { … }
void SystemSnapshotMinidump::OSVersion(int* major,
int* minor,
int* bugfix,
std::string* build) const { … }
std::string SystemSnapshotMinidump::OSVersionFull() const { … }
std::string SystemSnapshotMinidump::MachineDescription() const { … }
bool SystemSnapshotMinidump::NXEnabled() const { … }
void SystemSnapshotMinidump::TimeZone(DaylightSavingTimeStatus* dst_status,
int* standard_offset_seconds,
int* daylight_offset_seconds,
std::string* standard_name,
std::string* daylight_name) const { … }
uint64_t SystemSnapshotMinidump::AddressMask() const { … }
}
}