#include "snapshot/sanitized/module_snapshot_sanitized.h"
#include "base/strings/pattern.h"
namespace crashpad {
namespace internal {
namespace {
bool KeyIsAllowed(const std::string& name,
const std::vector<std::string>& allowed_keys) { … }
}
ModuleSnapshotSanitized::ModuleSnapshotSanitized(
const ModuleSnapshot* snapshot,
const std::vector<std::string>* allowed_annotations)
: … { … }
ModuleSnapshotSanitized::~ModuleSnapshotSanitized() = default;
std::string ModuleSnapshotSanitized::Name() const { … }
uint64_t ModuleSnapshotSanitized::Address() const { … }
uint64_t ModuleSnapshotSanitized::Size() const { … }
time_t ModuleSnapshotSanitized::Timestamp() const { … }
void ModuleSnapshotSanitized::FileVersion(uint16_t* version_0,
uint16_t* version_1,
uint16_t* version_2,
uint16_t* version_3) const { … }
void ModuleSnapshotSanitized::SourceVersion(uint16_t* version_0,
uint16_t* version_1,
uint16_t* version_2,
uint16_t* version_3) const { … }
ModuleSnapshot::ModuleType ModuleSnapshotSanitized::GetModuleType() const { … }
void ModuleSnapshotSanitized::UUIDAndAge(crashpad::UUID* uuid,
uint32_t* age) const { … }
std::string ModuleSnapshotSanitized::DebugFileName() const { … }
std::vector<uint8_t> ModuleSnapshotSanitized::BuildID() const { … }
std::vector<std::string> ModuleSnapshotSanitized::AnnotationsVector() const { … }
std::map<std::string, std::string>
ModuleSnapshotSanitized::AnnotationsSimpleMap() const { … }
std::vector<AnnotationSnapshot> ModuleSnapshotSanitized::AnnotationObjects()
const { … }
std::set<CheckedRange<uint64_t>> ModuleSnapshotSanitized::ExtraMemoryRanges()
const { … }
std::vector<const UserMinidumpStream*>
ModuleSnapshotSanitized::CustomMinidumpStreams() const { … }
}
}