#include "snapshot/sanitized/process_snapshot_sanitized.h"
#include <stdint.h>
#include "snapshot/cpu_context.h"
#include "util/linux/pac_helper.h"
#include "util/numeric/safe_assignment.h"
namespace crashpad {
namespace {
class StackReferencesAddressRange : public MemorySnapshot::Delegate { … };
}
ProcessSnapshotSanitized::ProcessSnapshotSanitized() = default;
ProcessSnapshotSanitized::~ProcessSnapshotSanitized() = default;
bool ProcessSnapshotSanitized::Initialize(
const ProcessSnapshot* snapshot,
std::unique_ptr<const std::vector<std::string>> allowed_annotations,
std::unique_ptr<const std::vector<std::pair<VMAddress, VMAddress>>>
allowed_memory_ranges,
VMAddress target_module_address,
bool sanitize_stacks) { … }
crashpad::ProcessID ProcessSnapshotSanitized::ProcessID() const { … }
crashpad::ProcessID ProcessSnapshotSanitized::ParentProcessID() const { … }
void ProcessSnapshotSanitized::SnapshotTime(timeval* snapshot_time) const { … }
void ProcessSnapshotSanitized::ProcessStartTime(timeval* start_time) const { … }
void ProcessSnapshotSanitized::ProcessCPUTimes(timeval* user_time,
timeval* system_time) const { … }
void ProcessSnapshotSanitized::ReportID(UUID* report_id) const { … }
void ProcessSnapshotSanitized::ClientID(UUID* client_id) const { … }
const std::map<std::string, std::string>&
ProcessSnapshotSanitized::AnnotationsSimpleMap() const { … }
const SystemSnapshot* ProcessSnapshotSanitized::System() const { … }
std::vector<const ThreadSnapshot*> ProcessSnapshotSanitized::Threads() const { … }
std::vector<const ModuleSnapshot*> ProcessSnapshotSanitized::Modules() const { … }
std::vector<UnloadedModuleSnapshot> ProcessSnapshotSanitized::UnloadedModules()
const { … }
const ExceptionSnapshot* ProcessSnapshotSanitized::Exception() const { … }
std::vector<const MemoryMapRegionSnapshot*>
ProcessSnapshotSanitized::MemoryMap() const { … }
std::vector<HandleSnapshot> ProcessSnapshotSanitized::Handles() const { … }
std::vector<const MemorySnapshot*> ProcessSnapshotSanitized::ExtraMemory()
const { … }
const ProcessMemory* ProcessSnapshotSanitized::Memory() const { … }
}