#include "util/process/process_memory_range.h"
#include <algorithm>
#include <limits>
#include "base/logging.h"
namespace crashpad {
ProcessMemoryRange::ProcessMemoryRange()
: … { … }
ProcessMemoryRange::~ProcessMemoryRange() { … }
bool ProcessMemoryRange::Initialize(const ProcessMemory* memory,
bool is_64_bit,
VMAddress base,
VMSize size) { … }
bool ProcessMemoryRange::Initialize(const ProcessMemory* memory,
bool is_64_bit) { … }
bool ProcessMemoryRange::Initialize(const ProcessMemoryRange& other) { … }
bool ProcessMemoryRange::RestrictRange(VMAddress base, VMSize size) { … }
bool ProcessMemoryRange::Read(VMAddress address,
VMSize size,
void* buffer) const { … }
bool ProcessMemoryRange::ReadCStringSizeLimited(VMAddress address,
VMSize size,
std::string* string) const { … }
}