Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
arion_lnx_x86_64::user_regs_struct Struct Reference

Structure representing the x86-64 general-purpose registers as saved by the Linux kernel on the stack. More...

#include <lnx_arch_x86-64.hpp>

Public Attributes

unsigned long r15
 R15 register.
 
unsigned long r14
 R14 register.
 
unsigned long r13
 R13 register.
 
unsigned long r12
 R12 register.
 
unsigned long bp
 Base Pointer register (RBP/BP).
 
unsigned long bx
 Base register (RBX/BX).
 
unsigned long r11
 R11 register.
 
unsigned long r10
 R10 register.
 
unsigned long r9
 R9 register.
 
unsigned long r8
 R8 register.
 
unsigned long ax
 Accumulator register (RAX/AX).
 
unsigned long cx
 Counter register (RCX/CX).
 
unsigned long dx
 Data register (RDX/DX).
 
unsigned long si
 Source Index register (RSI/SI).
 
unsigned long di
 Destination Index register (RDI/DI).
 
unsigned long orig_ax
 Original value of AX/RAX before a syscall (used to detect syscall return).
 
unsigned long ip
 Instruction Pointer register (RIP/IP).
 
unsigned long cs
 Code Segment selector (CS).
 
unsigned long flags
 Flags register (RFLAGS).
 
unsigned long sp
 Stack Pointer register (RSP/SP).
 
unsigned long ss
 Stack Segment selector (SS).
 
unsigned long fs_base
 FS Segment Base address.
 
unsigned long gs_base
 GS Segment Base address.
 
unsigned long ds
 Data Segment selector (DS).
 
unsigned long es
 Extra Segment selector (ES).
 
unsigned long fs
 FS Segment selector.
 
unsigned long gs
 GS Segment selector.
 

Detailed Description

Structure representing the x86-64 general-purpose registers as saved by the Linux kernel on the stack.

Member Data Documentation

◆ ax

unsigned long arion_lnx_x86_64::user_regs_struct::ax

Accumulator register (RAX/AX).

◆ bp

unsigned long arion_lnx_x86_64::user_regs_struct::bp

Base Pointer register (RBP/BP).

◆ bx

unsigned long arion_lnx_x86_64::user_regs_struct::bx

Base register (RBX/BX).

◆ cs

unsigned long arion_lnx_x86_64::user_regs_struct::cs

Code Segment selector (CS).

◆ cx

unsigned long arion_lnx_x86_64::user_regs_struct::cx

Counter register (RCX/CX).

◆ di

unsigned long arion_lnx_x86_64::user_regs_struct::di

Destination Index register (RDI/DI).

◆ ds

unsigned long arion_lnx_x86_64::user_regs_struct::ds

Data Segment selector (DS).

◆ dx

unsigned long arion_lnx_x86_64::user_regs_struct::dx

Data register (RDX/DX).

◆ es

unsigned long arion_lnx_x86_64::user_regs_struct::es

Extra Segment selector (ES).

◆ flags

unsigned long arion_lnx_x86_64::user_regs_struct::flags

Flags register (RFLAGS).

◆ fs

unsigned long arion_lnx_x86_64::user_regs_struct::fs

FS Segment selector.

◆ fs_base

unsigned long arion_lnx_x86_64::user_regs_struct::fs_base

FS Segment Base address.

◆ gs

unsigned long arion_lnx_x86_64::user_regs_struct::gs

GS Segment selector.

◆ gs_base

unsigned long arion_lnx_x86_64::user_regs_struct::gs_base

GS Segment Base address.

◆ ip

unsigned long arion_lnx_x86_64::user_regs_struct::ip

Instruction Pointer register (RIP/IP).

◆ orig_ax

unsigned long arion_lnx_x86_64::user_regs_struct::orig_ax

Original value of AX/RAX before a syscall (used to detect syscall return).

◆ r10

unsigned long arion_lnx_x86_64::user_regs_struct::r10

R10 register.

◆ r11

unsigned long arion_lnx_x86_64::user_regs_struct::r11

R11 register.

◆ r12

unsigned long arion_lnx_x86_64::user_regs_struct::r12

R12 register.

◆ r13

unsigned long arion_lnx_x86_64::user_regs_struct::r13

R13 register.

◆ r14

unsigned long arion_lnx_x86_64::user_regs_struct::r14

R14 register.

◆ r15

unsigned long arion_lnx_x86_64::user_regs_struct::r15

R15 register.

◆ r8

unsigned long arion_lnx_x86_64::user_regs_struct::r8

R8 register.

◆ r9

unsigned long arion_lnx_x86_64::user_regs_struct::r9

R9 register.

◆ si

unsigned long arion_lnx_x86_64::user_regs_struct::si

Source Index register (RSI/SI).

◆ sp

unsigned long arion_lnx_x86_64::user_regs_struct::sp

Stack Pointer register (RSP/SP).

◆ ss

unsigned long arion_lnx_x86_64::user_regs_struct::ss

Stack Segment selector (SS).


The documentation for this struct was generated from the following file: