12.5 uregs[] Array

The uregs[] array enables you to access individual user registers. Table 12.1, “x86 uregs[] Constants” lists the index constants into the uregs[] array for each supported architecture.

Table 12.1 x86 uregs[] Constants

Constant

Register

Architecture

R_PC

program counter register

x86, AMD64

R_SP

stack pointer register

x86, AMD64

R_R0

first return code

x86, AMD64

R_R1

second return code

x86, AMD64

R_CS

%cs

x86, AMD64

R_GS

%gs

x86, AMD64

R_ES

%es

x86, AMD64

R_DS

%ds

x86, AMD64

R_EDI

%ed

x86, AMD64

R_ESI

%es

x86, AMD64

R_EBP

%ebp

x86, AMD64

R_EAX

%eax

x86, AMD64

R_ESP

%esp

x86, AMD64

R_EAX

%eax

x86, AMD64

R_EBX

%ebx

x86, AMD64

R_ECX

%ecx

x86, AMD64

R_EDX

%edx

x86, AMD64

R_TRAPNO

%trapno

x86, AMD64

R_ERR

%err

x86, AMD64

R_EIP

%eip

x86, AMD64

R_CS

%cs

x86, AMD64

R_EFL

%efl

x86, AMD64

R_UESP

%uesp

x86, AMD64

R_SS

%ss

x86, AMD64

R_RSP

%rsp

AMD64

R_RFL

%rfl

AMD64

R_RIP

%rip

AMD64

R_RAX

%rax

AMD64

R_RCX

%rcx

AMD64

R_RDX

%rdx

AMD64

R_RBP

%rbp

AMD64

R_RSI

%rsi

AMD64

R_RDI

%rdi

AMD64

R_R8

%r8

AMD64

R_R9

%r9

AMD64

R_R10

%r10

AMD64

R_R11

%r11

AMD64

R_R12

%r12

AMD64

R_R13

%r13

AMD64

R_R14

%r14

AMD64

R_R15

%r15

AMD64