#include "snapshot/capture_memory.h"
#include <stdint.h>
#include <windows.h>
#include <dbghelp.h>
#include <iterator>
#include <limits>
#include "base/containers/heap_array.h"
#include "base/logging.h"
#include "build/build_config.h"
#include "snapshot/memory_snapshot.h"
namespace crashpad {
namespace internal {
namespace {
void MaybeCaptureMemoryAround(CaptureMemory::Delegate* delegate,
uint64_t address) { … }
template <class T>
void CaptureAtPointersInRange(uint8_t* buffer,
uint64_t buffer_size,
CaptureMemory::Delegate* delegate) { … }
}
void CaptureMemory::PointedToByContext(const CPUContext& context,
Delegate* delegate) { … }
void CaptureMemory::PointedToByMemoryRange(const MemorySnapshot& memory,
Delegate* delegate) { … }
}
}