summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/registers_go_proto/registers.pb.go
blob: 088209be7652d9191c92f3fb5cb1f19f0c291fd3 (plain)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: pkg/sentry/arch/registers.proto

package gvisor

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type AMD64Registers struct {
	Rax                  uint64   `protobuf:"varint,1,opt,name=rax,proto3" json:"rax,omitempty"`
	Rbx                  uint64   `protobuf:"varint,2,opt,name=rbx,proto3" json:"rbx,omitempty"`
	Rcx                  uint64   `protobuf:"varint,3,opt,name=rcx,proto3" json:"rcx,omitempty"`
	Rdx                  uint64   `protobuf:"varint,4,opt,name=rdx,proto3" json:"rdx,omitempty"`
	Rsi                  uint64   `protobuf:"varint,5,opt,name=rsi,proto3" json:"rsi,omitempty"`
	Rdi                  uint64   `protobuf:"varint,6,opt,name=rdi,proto3" json:"rdi,omitempty"`
	Rsp                  uint64   `protobuf:"varint,7,opt,name=rsp,proto3" json:"rsp,omitempty"`
	Rbp                  uint64   `protobuf:"varint,8,opt,name=rbp,proto3" json:"rbp,omitempty"`
	R8                   uint64   `protobuf:"varint,9,opt,name=r8,proto3" json:"r8,omitempty"`
	R9                   uint64   `protobuf:"varint,10,opt,name=r9,proto3" json:"r9,omitempty"`
	R10                  uint64   `protobuf:"varint,11,opt,name=r10,proto3" json:"r10,omitempty"`
	R11                  uint64   `protobuf:"varint,12,opt,name=r11,proto3" json:"r11,omitempty"`
	R12                  uint64   `protobuf:"varint,13,opt,name=r12,proto3" json:"r12,omitempty"`
	R13                  uint64   `protobuf:"varint,14,opt,name=r13,proto3" json:"r13,omitempty"`
	R14                  uint64   `protobuf:"varint,15,opt,name=r14,proto3" json:"r14,omitempty"`
	R15                  uint64   `protobuf:"varint,16,opt,name=r15,proto3" json:"r15,omitempty"`
	Rip                  uint64   `protobuf:"varint,17,opt,name=rip,proto3" json:"rip,omitempty"`
	Rflags               uint64   `protobuf:"varint,18,opt,name=rflags,proto3" json:"rflags,omitempty"`
	OrigRax              uint64   `protobuf:"varint,19,opt,name=orig_rax,json=origRax,proto3" json:"orig_rax,omitempty"`
	Cs                   uint64   `protobuf:"varint,20,opt,name=cs,proto3" json:"cs,omitempty"`
	Ds                   uint64   `protobuf:"varint,21,opt,name=ds,proto3" json:"ds,omitempty"`
	Es                   uint64   `protobuf:"varint,22,opt,name=es,proto3" json:"es,omitempty"`
	Fs                   uint64   `protobuf:"varint,23,opt,name=fs,proto3" json:"fs,omitempty"`
	Gs                   uint64   `protobuf:"varint,24,opt,name=gs,proto3" json:"gs,omitempty"`
	Ss                   uint64   `protobuf:"varint,25,opt,name=ss,proto3" json:"ss,omitempty"`
	FsBase               uint64   `protobuf:"varint,26,opt,name=fs_base,json=fsBase,proto3" json:"fs_base,omitempty"`
	GsBase               uint64   `protobuf:"varint,27,opt,name=gs_base,json=gsBase,proto3" json:"gs_base,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *AMD64Registers) Reset()         { *m = AMD64Registers{} }
func (m *AMD64Registers) String() string { return proto.CompactTextString(m) }
func (*AMD64Registers) ProtoMessage()    {}
func (*AMD64Registers) Descriptor() ([]byte, []int) {
	return fileDescriptor_082b7510610e0457, []int{0}
}

func (m *AMD64Registers) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_AMD64Registers.Unmarshal(m, b)
}
func (m *AMD64Registers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_AMD64Registers.Marshal(b, m, deterministic)
}
func (m *AMD64Registers) XXX_Merge(src proto.Message) {
	xxx_messageInfo_AMD64Registers.Merge(m, src)
}
func (m *AMD64Registers) XXX_Size() int {
	return xxx_messageInfo_AMD64Registers.Size(m)
}
func (m *AMD64Registers) XXX_DiscardUnknown() {
	xxx_messageInfo_AMD64Registers.DiscardUnknown(m)
}

var xxx_messageInfo_AMD64Registers proto.InternalMessageInfo

func (m *AMD64Registers) GetRax() uint64 {
	if m != nil {
		return m.Rax
	}
	return 0
}

func (m *AMD64Registers) GetRbx() uint64 {
	if m != nil {
		return m.Rbx
	}
	return 0
}

func (m *AMD64Registers) GetRcx() uint64 {
	if m != nil {
		return m.Rcx
	}
	return 0
}

func (m *AMD64Registers) GetRdx() uint64 {
	if m != nil {
		return m.Rdx
	}
	return 0
}

func (m *AMD64Registers) GetRsi() uint64 {
	if m != nil {
		return m.Rsi
	}
	return 0
}

func (m *AMD64Registers) GetRdi() uint64 {
	if m != nil {
		return m.Rdi
	}
	return 0
}

func (m *AMD64Registers) GetRsp() uint64 {
	if m != nil {
		return m.Rsp
	}
	return 0
}

func (m *AMD64Registers) GetRbp() uint64 {
	if m != nil {
		return m.Rbp
	}
	return 0
}

func (m *AMD64Registers) GetR8() uint64 {
	if m != nil {
		return m.R8
	}
	return 0
}

func (m *AMD64Registers) GetR9() uint64 {
	if m != nil {
		return m.R9
	}
	return 0
}

func (m *AMD64Registers) GetR10() uint64 {
	if m != nil {
		return m.R10
	}
	return 0
}

func (m *AMD64Registers) GetR11() uint64 {
	if m != nil {
		return m.R11
	}
	return 0
}

func (m *AMD64Registers) GetR12() uint64 {
	if m != nil {
		return m.R12
	}
	return 0
}

func (m *AMD64Registers) GetR13() uint64 {
	if m != nil {
		return m.R13
	}
	return 0
}

func (m *AMD64Registers) GetR14() uint64 {
	if m != nil {
		return m.R14
	}
	return 0
}

func (m *AMD64Registers) GetR15() uint64 {
	if m != nil {
		return m.R15
	}
	return 0
}

func (m *AMD64Registers) GetRip() uint64 {
	if m != nil {
		return m.Rip
	}
	return 0
}

func (m *AMD64Registers) GetRflags() uint64 {
	if m != nil {
		return m.Rflags
	}
	return 0
}

func (m *AMD64Registers) GetOrigRax() uint64 {
	if m != nil {
		return m.OrigRax
	}
	return 0
}

func (m *AMD64Registers) GetCs() uint64 {
	if m != nil {
		return m.Cs
	}
	return 0
}

func (m *AMD64Registers) GetDs() uint64 {
	if m != nil {
		return m.Ds
	}
	return 0
}

func (m *AMD64Registers) GetEs() uint64 {
	if m != nil {
		return m.Es
	}
	return 0
}

func (m *AMD64Registers) GetFs() uint64 {
	if m != nil {
		return m.Fs
	}
	return 0
}

func (m *AMD64Registers) GetGs() uint64 {
	if m != nil {
		return m.Gs
	}
	return 0
}

func (m *AMD64Registers) GetSs() uint64 {
	if m != nil {
		return m.Ss
	}
	return 0
}

func (m *AMD64Registers) GetFsBase() uint64 {
	if m != nil {
		return m.FsBase
	}
	return 0
}

func (m *AMD64Registers) GetGsBase() uint64 {
	if m != nil {
		return m.GsBase
	}
	return 0
}

type Registers struct {
	// Types that are valid to be assigned to Arch:
	//	*Registers_Amd64
	Arch                 isRegisters_Arch `protobuf_oneof:"arch"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *Registers) Reset()         { *m = Registers{} }
func (m *Registers) String() string { return proto.CompactTextString(m) }
func (*Registers) ProtoMessage()    {}
func (*Registers) Descriptor() ([]byte, []int) {
	return fileDescriptor_082b7510610e0457, []int{1}
}

func (m *Registers) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Registers.Unmarshal(m, b)
}
func (m *Registers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Registers.Marshal(b, m, deterministic)
}
func (m *Registers) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Registers.Merge(m, src)
}
func (m *Registers) XXX_Size() int {
	return xxx_messageInfo_Registers.Size(m)
}
func (m *Registers) XXX_DiscardUnknown() {
	xxx_messageInfo_Registers.DiscardUnknown(m)
}

var xxx_messageInfo_Registers proto.InternalMessageInfo

type isRegisters_Arch interface {
	isRegisters_Arch()
}

type Registers_Amd64 struct {
	Amd64 *AMD64Registers `protobuf:"bytes,1,opt,name=amd64,proto3,oneof"`
}

func (*Registers_Amd64) isRegisters_Arch() {}

func (m *Registers) GetArch() isRegisters_Arch {
	if m != nil {
		return m.Arch
	}
	return nil
}

func (m *Registers) GetAmd64() *AMD64Registers {
	if x, ok := m.GetArch().(*Registers_Amd64); ok {
		return x.Amd64
	}
	return nil
}

// XXX_OneofWrappers is for the internal use of the proto package.
func (*Registers) XXX_OneofWrappers() []interface{} {
	return []interface{}{
		(*Registers_Amd64)(nil),
	}
}

func init() {
	proto.RegisterType((*AMD64Registers)(nil), "gvisor.AMD64Registers")
	proto.RegisterType((*Registers)(nil), "gvisor.Registers")
}

func init() { proto.RegisterFile("pkg/sentry/arch/registers.proto", fileDescriptor_082b7510610e0457) }

var fileDescriptor_082b7510610e0457 = []byte{
	// 354 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x92, 0x4d, 0x6f, 0xe2, 0x30,
	0x10, 0x86, 0x17, 0x08, 0x01, 0xcc, 0x2e, 0xcb, 0x66, 0x5b, 0x18, 0xda, 0x43, 0x2b, 0x4e, 0x3d,
	0x05, 0x02, 0x01, 0xc1, 0xb1, 0xb4, 0x87, 0x5e, 0x7a, 0xc9, 0x1f, 0x40, 0xf9, 0x74, 0xad, 0x7e,
	0xc4, 0xf2, 0xa0, 0x2a, 0x3d, 0xf7, 0x8f, 0x57, 0xf6, 0xd8, 0xaa, 0x7a, 0xcb, 0xf3, 0xcc, 0x6b,
	0x39, 0x93, 0xbc, 0xec, 0x4a, 0x3e, 0xf3, 0x05, 0x96, 0x6f, 0x27, 0xf5, 0xb1, 0x48, 0x55, 0xfe,
	0xb4, 0x50, 0x25, 0x17, 0x78, 0x2a, 0x15, 0x86, 0x52, 0xd5, 0xa7, 0x3a, 0xf0, 0xf9, 0xbb, 0xc0,
	0x5a, 0xcd, 0x3f, 0x3d, 0x36, 0xba, 0x7d, 0xbc, 0xdf, 0xc6, 0x89, 0x0b, 0x04, 0x63, 0xd6, 0x51,
	0x69, 0x03, 0xad, 0xeb, 0xd6, 0x8d, 0x97, 0xe8, 0x47, 0x63, 0xb2, 0x06, 0xda, 0xd6, 0x64, 0x64,
	0xf2, 0x06, 0x3a, 0xd6, 0xe4, 0x64, 0x8a, 0x06, 0x3c, 0x6b, 0x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 0x12, 0xfe, 0xac, 0xc9, 0xc3, 0xaf, 0x84, 0x62, 0x07, 0x9f, 0x79, 0xba, 0x62,
	0x99, 0x6f, 0x9a, 0xb5, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xcc, 0x03, 0x27, 0x7c, 0x02,
	0x00, 0x00,
}