dwarfinterpret/src/register_map.hpp

24 lines
267 B
C++
Raw Normal View History

#pragma once
#include <ucontext.h>
constexpr int REG_DWARF_TO_UCONTEXT[] = {
REG_RAX,
REG_RDX,
REG_RCX,
REG_RBX,
REG_RSI,
REG_RDI,
REG_RBP,
REG_RSP,
REG_R8,
REG_R9,
REG_R10,
REG_R11,
REG_R12,
REG_R13,
REG_R14,
REG_R15,
REG_RIP,
};