#include "util/linux/direct_ptrace_connection.h"
#include <utility>
#include "util/file/file_io.h"
#include "util/linux/proc_task_reader.h"
namespace crashpad {
DirectPtraceConnection::DirectPtraceConnection()
: … { … }
DirectPtraceConnection::~DirectPtraceConnection() { … }
bool DirectPtraceConnection::Initialize(pid_t pid) { … }
pid_t DirectPtraceConnection::GetProcessID() { … }
bool DirectPtraceConnection::Attach(pid_t tid) { … }
bool DirectPtraceConnection::Is64Bit() { … }
bool DirectPtraceConnection::GetThreadInfo(pid_t tid, ThreadInfo* info) { … }
bool DirectPtraceConnection::ReadFileContents(const base::FilePath& path,
std::string* contents) { … }
ProcessMemoryLinux* DirectPtraceConnection::Memory() { … }
bool DirectPtraceConnection::Threads(std::vector<pid_t>* threads) { … }
ssize_t DirectPtraceConnection::ReadUpTo(VMAddress address,
size_t size,
void* buffer) { … }
}