-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacidureg.h
55 lines (53 loc) · 1.32 KB
/
acidureg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
typedef struct Ureg
{
target_ulong di; /* general registers */
target_ulong si; /* ... */
target_ulong bp; /* ... */
target_ulong nsp;
target_ulong bx; /* ... */
target_ulong dx; /* ... */
target_ulong cx; /* ... */
target_ulong ax; /* ... */
target_ulong gs; /* data segments */
target_ulong fs; /* ... */
target_ulong es; /* ... */
target_ulong ds; /* ... */
target_ulong trap; /* trap type */
target_ulong ecode; /* error code (or zero) */
target_ulong pc; /* pc */
target_ulong cs; /* old context */
target_ulong flags; /* old flags */
union {
target_ulong usp;
target_ulong sp;
} u0;
target_ulong ss; /* old stack segment */
} Ureg;
typedef struct Ureg {
target_ullong ax;
target_ullong bx;
target_ullong cx;
target_ullong dx;
target_ullong si;
target_ullong di;
target_ullong bp;
target_ullong r8;
target_ullong r9;
target_ullong r10;
target_ullong r11;
target_ullong r12;
target_ullong r13;
target_ullong r14;
target_ullong r15;
target_ushort ds;
target_ushort es;
target_ushort fs;
target_ushort gs;
target_ullong type;
target_ullong error; /* error code (or zero) */
target_ullong ip; /* pc */
target_ullong cs; /* old context */
target_ullong flags; /* old flags */
target_ullong sp; /* sp */
target_ullong ss; /* old stack segment */
} Ureg;