Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Variables
arch_x86.h File Reference
#include "arch.h"
Include dependency graph for arch_x86.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define X86_EF_TF   (0x00000100)
 
#define X86_EF_IF   (0x00000200)
 
#define X86_EF_RF   (0x00010000)
 
#define ARCH_X86_REG_COUNT   60
 
#define REG_X86_EAX   0
 
#define REG_X86_ECX   1
 
#define REG_X86_EDX   2
 
#define REG_X86_EBX   3
 
#define REG_X86_ESP   4
 
#define REG_X86_EBP   5
 
#define REG_X86_ESI   6
 
#define REG_X86_EDI   7
 
#define REG_X86_EIP   8
 
#define REG_X86_EFLAGS   9
 
#define REG_X86_ST0   11
 
#define REG_X86_ST1   12
 
#define REG_X86_ST2   13
 
#define REG_X86_ST3   14
 
#define REG_X86_ST4   15
 
#define REG_X86_ST5   16
 
#define REG_X86_ST6   17
 
#define REG_X86_ST7   18
 
#define REG_X86_XMM0   21
 
#define REG_X86_XMM1   22
 
#define REG_X86_XMM2   23
 
#define REG_X86_XMM3   24
 
#define REG_X86_XMM4   25
 
#define REG_X86_XMM5   26
 
#define REG_X86_XMM6   27
 
#define REG_X86_XMM7   28
 
#define REG_X86_MM0   29
 
#define REG_X86_MM1   30
 
#define REG_X86_MM2   31
 
#define REG_X86_MM3   32
 
#define REG_X86_MM4   33
 
#define REG_X86_MM5   34
 
#define REG_X86_MM6   35
 
#define REG_X86_MM7   36
 
#define REG_X86_X87CW   37
 
#define REG_X86_FCTRL   REG_X86_X87CW
 
#define REG_X86_X87SW   38
 
#define REG_X86_FSTAT   REG_X86_X87SW
 
#define REG_X86_MXCSR   39
 
#define REG_X86_ES   40
 
#define REG_X86_CS   41
 
#define REG_X86_SS   42
 
#define REG_X86_DS   43
 
#define REG_X86_FS   44
 
#define REG_X86_GS   45
 
#define REG_X86_CR0   46
 
#define REG_X86_CR1   47
 
#define REG_X86_CR2   48
 
#define REG_X86_CR3   49
 
#define REG_X86_CR4   50
 
#define REG_X86_DR0   51
 
#define REG_X86_DR1   52
 
#define REG_X86_DR2   53
 
#define REG_X86_DR3   54
 
#define REG_X86_DR4   55
 
#define REG_X86_DR6   57
 
#define REG_X86_DR7   58
 
#define REG_X86_MSR_EFER   59
 

Variables

struct arch arch_x86
 

Macro Definition Documentation

#define ARCH_X86_REG_COUNT   60

Definition at line 34 of file arch_x86.h.

#define REG_X86_CR0   46

Definition at line 99 of file arch_x86.h.

#define REG_X86_CR1   47

Definition at line 100 of file arch_x86.h.

#define REG_X86_CR2   48

Definition at line 101 of file arch_x86.h.

#define REG_X86_CR3   49

Definition at line 102 of file arch_x86.h.

#define REG_X86_CR4   50

Definition at line 103 of file arch_x86.h.

#define REG_X86_CS   41

Definition at line 84 of file arch_x86.h.

#define REG_X86_DR0   51

Definition at line 105 of file arch_x86.h.

#define REG_X86_DR1   52

Definition at line 106 of file arch_x86.h.

#define REG_X86_DR2   53

Definition at line 107 of file arch_x86.h.

#define REG_X86_DR3   54

Definition at line 108 of file arch_x86.h.

#define REG_X86_DR4   55

Definition at line 109 of file arch_x86.h.

#define REG_X86_DR6   57

Definition at line 111 of file arch_x86.h.

#define REG_X86_DR7   58

Definition at line 112 of file arch_x86.h.

#define REG_X86_DS   43

Definition at line 86 of file arch_x86.h.

#define REG_X86_EAX   0

Definition at line 37 of file arch_x86.h.

#define REG_X86_EBP   5

Definition at line 42 of file arch_x86.h.

#define REG_X86_EBX   3

Definition at line 40 of file arch_x86.h.

#define REG_X86_ECX   1

Definition at line 38 of file arch_x86.h.

#define REG_X86_EDI   7

Definition at line 44 of file arch_x86.h.

#define REG_X86_EDX   2

Definition at line 39 of file arch_x86.h.

#define REG_X86_EFLAGS   9

Definition at line 46 of file arch_x86.h.

#define REG_X86_EIP   8

Definition at line 45 of file arch_x86.h.

#define REG_X86_ES   40

Definition at line 83 of file arch_x86.h.

#define REG_X86_ESI   6

Definition at line 43 of file arch_x86.h.

#define REG_X86_ESP   4

Definition at line 41 of file arch_x86.h.

#define REG_X86_FCTRL   REG_X86_X87CW

Definition at line 77 of file arch_x86.h.

#define REG_X86_FS   44

Definition at line 87 of file arch_x86.h.

#define REG_X86_FSTAT   REG_X86_X87SW

Definition at line 79 of file arch_x86.h.

#define REG_X86_GS   45

Definition at line 88 of file arch_x86.h.

#define REG_X86_MM0   29

Definition at line 67 of file arch_x86.h.

#define REG_X86_MM1   30

Definition at line 68 of file arch_x86.h.

#define REG_X86_MM2   31

Definition at line 69 of file arch_x86.h.

#define REG_X86_MM3   32

Definition at line 70 of file arch_x86.h.

#define REG_X86_MM4   33

Definition at line 71 of file arch_x86.h.

#define REG_X86_MM5   34

Definition at line 72 of file arch_x86.h.

#define REG_X86_MM6   35

Definition at line 73 of file arch_x86.h.

#define REG_X86_MM7   36

Definition at line 74 of file arch_x86.h.

#define REG_X86_MSR_EFER   59

Definition at line 114 of file arch_x86.h.

#define REG_X86_MXCSR   39

Definition at line 80 of file arch_x86.h.

#define REG_X86_SS   42

Definition at line 85 of file arch_x86.h.

#define REG_X86_ST0   11

Definition at line 49 of file arch_x86.h.

#define REG_X86_ST1   12

Definition at line 50 of file arch_x86.h.

#define REG_X86_ST2   13

Definition at line 51 of file arch_x86.h.

#define REG_X86_ST3   14

Definition at line 52 of file arch_x86.h.

#define REG_X86_ST4   15

Definition at line 53 of file arch_x86.h.

#define REG_X86_ST5   16

Definition at line 54 of file arch_x86.h.

#define REG_X86_ST6   17

Definition at line 55 of file arch_x86.h.

#define REG_X86_ST7   18

Definition at line 56 of file arch_x86.h.

#define REG_X86_X87CW   37

Definition at line 76 of file arch_x86.h.

#define REG_X86_X87SW   38

Definition at line 78 of file arch_x86.h.

#define REG_X86_XMM0   21

Definition at line 58 of file arch_x86.h.

#define REG_X86_XMM1   22

Definition at line 59 of file arch_x86.h.

#define REG_X86_XMM2   23

Definition at line 60 of file arch_x86.h.

#define REG_X86_XMM3   24

Definition at line 61 of file arch_x86.h.

#define REG_X86_XMM4   25

Definition at line 62 of file arch_x86.h.

#define REG_X86_XMM5   26

Definition at line 63 of file arch_x86.h.

#define REG_X86_XMM6   27

Definition at line 64 of file arch_x86.h.

#define REG_X86_XMM7   28

Definition at line 65 of file arch_x86.h.

#define X86_EF_IF   (0x00000200)

Definition at line 27 of file arch_x86.h.

#define X86_EF_RF   (0x00010000)

Definition at line 28 of file arch_x86.h.

#define X86_EF_TF   (0x00000100)

Definition at line 26 of file arch_x86.h.

Variable Documentation

struct arch arch_x86

Definition at line 79 of file arch_x86.c.