C++程序  |  80行  |  2.15 KB

#define OFFSET_x86_EAX 0
#define OFFSET_x86_EBX 12
#define OFFSET_x86_ECX 4
#define OFFSET_x86_EDX 8
#define OFFSET_x86_ESI 24
#define OFFSET_x86_EDI 28
#define OFFSET_x86_EBP 20
#define OFFSET_x86_ESP 16
#define OFFSET_x86_EIP 60
#define OFFSET_x86_CS 280
#define OFFSET_x86_DS 282
#define OFFSET_x86_ES 284
#define OFFSET_x86_FS 286
#define OFFSET_x86_GS 288
#define OFFSET_x86_SS 290
#define OFFSET_amd64_RAX 0
#define OFFSET_amd64_RBX 24
#define OFFSET_amd64_RCX 8
#define OFFSET_amd64_RDX 16
#define OFFSET_amd64_RSI 48
#define OFFSET_amd64_RDI 56
#define OFFSET_amd64_RSP 32
#define OFFSET_amd64_RBP 40
#define OFFSET_amd64_R8 64
#define OFFSET_amd64_R9 72
#define OFFSET_amd64_R10 80
#define OFFSET_amd64_R11 88
#define OFFSET_amd64_R12 96
#define OFFSET_amd64_R13 104
#define OFFSET_amd64_R14 112
#define OFFSET_amd64_R15 120
#define OFFSET_amd64_RIP 168
#define OFFSET_ppc32_GPR0 0
#define OFFSET_ppc32_GPR1 4
#define OFFSET_ppc32_GPR2 8
#define OFFSET_ppc32_GPR3 12
#define OFFSET_ppc32_GPR4 16
#define OFFSET_ppc32_GPR5 20
#define OFFSET_ppc32_GPR6 24
#define OFFSET_ppc32_GPR7 28
#define OFFSET_ppc32_GPR8 32
#define OFFSET_ppc32_GPR9 36
#define OFFSET_ppc32_GPR10 40
#define OFFSET_ppc32_CIA 1152
#define OFFSET_ppc32_CR0_0 1169
#define OFFSET_ppc64_GPR0 0
#define OFFSET_ppc64_GPR1 8
#define OFFSET_ppc64_GPR2 16
#define OFFSET_ppc64_GPR3 24
#define OFFSET_ppc64_GPR4 32
#define OFFSET_ppc64_GPR5 40
#define OFFSET_ppc64_GPR6 48
#define OFFSET_ppc64_GPR7 56
#define OFFSET_ppc64_GPR8 64
#define OFFSET_ppc64_GPR9 72
#define OFFSET_ppc64_GPR10 80
#define OFFSET_ppc64_CIA 1280
#define OFFSET_ppc64_CR0_0 1309
#define OFFSET_arm_R0 0
#define OFFSET_arm_R1 4
#define OFFSET_arm_R2 8
#define OFFSET_arm_R3 12
#define OFFSET_arm_R4 16
#define OFFSET_arm_R5 20
#define OFFSET_arm_R7 28
#define OFFSET_arm_R13 52
#define OFFSET_arm_R14 56
#define OFFSET_arm_R15T 60
#define OFFSET_s390x_r2 208
#define OFFSET_s390x_r3 216
#define OFFSET_s390x_r4 224
#define OFFSET_s390x_r5 232
#define OFFSET_s390x_r6 240
#define OFFSET_s390x_r7 248
#define OFFSET_s390x_r15 312
#define OFFSET_s390x_IA 336
#define OFFSET_s390x_SYSNO 344
#define OFFSET_s390x_IP_AT_SYSCALL 408
#define OFFSET_s390x_fpc 328