#include "util/process/process_memory_linux.h"
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <algorithm>
#include <limits>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
#include "build/build_config.h"
#include "util/file/filesystem.h"
#include "util/linux/ptrace_connection.h"
namespace crashpad {
ProcessMemoryLinux::ProcessMemoryLinux(PtraceConnection* connection)
: … { … }
ProcessMemoryLinux::~ProcessMemoryLinux() { … }
VMAddress ProcessMemoryLinux::PointerToAddress(VMAddress address) const { … }
ssize_t ProcessMemoryLinux::ReadUpTo(VMAddress address,
size_t size,
void* buffer) const { … }
}