core_x86

package
v7.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_UserDescT_ReadExecOnly  = bool(true)
	Default_UserDescT_SegNotPresent = bool(true)
)

Default values for UserDescT fields.

View Source
const (
	Default_UserX86RegsEntry_Mode = UserX86RegsMode_NATIVE
)

Default values for UserX86RegsEntry fields.

Variables

View Source
var (
	UserX86RegsMode_name = map[int32]string{
		1: "NATIVE",
		2: "COMPAT",
	}
	UserX86RegsMode_value = map[string]int32{
		"NATIVE": 1,
		"COMPAT": 2,
	}
)

Enum value maps for UserX86RegsMode.

View Source
var File_core_x86_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ThreadInfoX86

type ThreadInfoX86 struct {
	ClearTidAddr *uint64             `protobuf:"varint,1,req,name=clear_tid_addr,json=clearTidAddr" json:"clear_tid_addr,omitempty"`
	Gpregs       *UserX86RegsEntry   `protobuf:"bytes,2,req,name=gpregs" json:"gpregs,omitempty"`
	Fpregs       *UserX86FpregsEntry `protobuf:"bytes,3,req,name=fpregs" json:"fpregs,omitempty"`
	Tls          []*UserDescT        `protobuf:"bytes,4,rep,name=tls" json:"tls,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreadInfoX86) Descriptor deprecated

func (*ThreadInfoX86) Descriptor() ([]byte, []int)

Deprecated: Use ThreadInfoX86.ProtoReflect.Descriptor instead.

func (*ThreadInfoX86) GetClearTidAddr

func (x *ThreadInfoX86) GetClearTidAddr() uint64

func (*ThreadInfoX86) GetFpregs

func (x *ThreadInfoX86) GetFpregs() *UserX86FpregsEntry

func (*ThreadInfoX86) GetGpregs

func (x *ThreadInfoX86) GetGpregs() *UserX86RegsEntry

func (*ThreadInfoX86) GetTls

func (x *ThreadInfoX86) GetTls() []*UserDescT

func (*ThreadInfoX86) ProtoMessage

func (*ThreadInfoX86) ProtoMessage()

func (*ThreadInfoX86) ProtoReflect

func (x *ThreadInfoX86) ProtoReflect() protoreflect.Message

func (*ThreadInfoX86) Reset

func (x *ThreadInfoX86) Reset()

func (*ThreadInfoX86) String

func (x *ThreadInfoX86) String() string

type UserDescT

type UserDescT struct {
	EntryNumber *uint32 `protobuf:"varint,1,req,name=entry_number,json=entryNumber" json:"entry_number,omitempty"`
	// this is for GDT, not for MSRs - 32-bit base
	BaseAddr      *uint32 `protobuf:"varint,2,req,name=base_addr,json=baseAddr" json:"base_addr,omitempty"`
	Limit         *uint32 `protobuf:"varint,3,req,name=limit" json:"limit,omitempty"`
	Seg_32Bit     *bool   `protobuf:"varint,4,req,name=seg_32bit,json=seg32bit" json:"seg_32bit,omitempty"`
	ContentsH     *bool   `protobuf:"varint,5,req,name=contents_h,json=contentsH" json:"contents_h,omitempty"`
	ContentsL     *bool   `protobuf:"varint,6,req,name=contents_l,json=contentsL" json:"contents_l,omitempty"`
	ReadExecOnly  *bool   `protobuf:"varint,7,req,name=read_exec_only,json=readExecOnly,def=1" json:"read_exec_only,omitempty"`
	LimitInPages  *bool   `protobuf:"varint,8,req,name=limit_in_pages,json=limitInPages" json:"limit_in_pages,omitempty"`
	SegNotPresent *bool   `protobuf:"varint,9,req,name=seg_not_present,json=segNotPresent,def=1" json:"seg_not_present,omitempty"`
	Usable        *bool   `protobuf:"varint,10,req,name=usable" json:"usable,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDescT) Descriptor deprecated

func (*UserDescT) Descriptor() ([]byte, []int)

Deprecated: Use UserDescT.ProtoReflect.Descriptor instead.

func (*UserDescT) GetBaseAddr

func (x *UserDescT) GetBaseAddr() uint32

func (*UserDescT) GetContentsH

func (x *UserDescT) GetContentsH() bool

func (*UserDescT) GetContentsL

func (x *UserDescT) GetContentsL() bool

func (*UserDescT) GetEntryNumber

func (x *UserDescT) GetEntryNumber() uint32

func (*UserDescT) GetLimit

func (x *UserDescT) GetLimit() uint32

func (*UserDescT) GetLimitInPages

func (x *UserDescT) GetLimitInPages() bool

func (*UserDescT) GetReadExecOnly

func (x *UserDescT) GetReadExecOnly() bool

func (*UserDescT) GetSegNotPresent

func (x *UserDescT) GetSegNotPresent() bool

func (*UserDescT) GetSeg_32Bit

func (x *UserDescT) GetSeg_32Bit() bool

func (*UserDescT) GetUsable

func (x *UserDescT) GetUsable() bool

func (*UserDescT) ProtoMessage

func (*UserDescT) ProtoMessage()

func (*UserDescT) ProtoReflect

func (x *UserDescT) ProtoReflect() protoreflect.Message

func (*UserDescT) Reset

func (x *UserDescT) Reset()

func (*UserDescT) String

func (x *UserDescT) String() string

type UserX86FpregsEntry

type UserX86FpregsEntry struct {

	// fxsave data
	Cwd       *uint32  `protobuf:"varint,1,req,name=cwd" json:"cwd,omitempty"`
	Swd       *uint32  `protobuf:"varint,2,req,name=swd" json:"swd,omitempty"`
	Twd       *uint32  `protobuf:"varint,3,req,name=twd" json:"twd,omitempty"`
	Fop       *uint32  `protobuf:"varint,4,req,name=fop" json:"fop,omitempty"`
	Rip       *uint64  `protobuf:"varint,5,req,name=rip" json:"rip,omitempty"`
	Rdp       *uint64  `protobuf:"varint,6,req,name=rdp" json:"rdp,omitempty"`
	Mxcsr     *uint32  `protobuf:"varint,7,req,name=mxcsr" json:"mxcsr,omitempty"`
	MxcsrMask *uint32  `protobuf:"varint,8,req,name=mxcsr_mask,json=mxcsrMask" json:"mxcsr_mask,omitempty"`
	StSpace   []uint32 `protobuf:"varint,9,rep,name=st_space,json=stSpace" json:"st_space,omitempty"`
	XmmSpace  []uint32 `protobuf:"varint,10,rep,name=xmm_space,json=xmmSpace" json:"xmm_space,omitempty"`
	// Unused, but present for backward compatibility
	Padding []uint32 `protobuf:"varint,11,rep,name=padding" json:"padding,omitempty"`
	// xsave extension
	Xsave *UserX86XsaveEntry `protobuf:"bytes,13,opt,name=xsave" json:"xsave,omitempty"`
	// contains filtered or unexported fields
}

func (*UserX86FpregsEntry) Descriptor deprecated

func (*UserX86FpregsEntry) Descriptor() ([]byte, []int)

Deprecated: Use UserX86FpregsEntry.ProtoReflect.Descriptor instead.

func (*UserX86FpregsEntry) GetCwd

func (x *UserX86FpregsEntry) GetCwd() uint32

func (*UserX86FpregsEntry) GetFop

func (x *UserX86FpregsEntry) GetFop() uint32

func (*UserX86FpregsEntry) GetMxcsr

func (x *UserX86FpregsEntry) GetMxcsr() uint32

func (*UserX86FpregsEntry) GetMxcsrMask

func (x *UserX86FpregsEntry) GetMxcsrMask() uint32

func (*UserX86FpregsEntry) GetPadding

func (x *UserX86FpregsEntry) GetPadding() []uint32

func (*UserX86FpregsEntry) GetRdp

func (x *UserX86FpregsEntry) GetRdp() uint64

func (*UserX86FpregsEntry) GetRip

func (x *UserX86FpregsEntry) GetRip() uint64

func (*UserX86FpregsEntry) GetStSpace

func (x *UserX86FpregsEntry) GetStSpace() []uint32

func (*UserX86FpregsEntry) GetSwd

func (x *UserX86FpregsEntry) GetSwd() uint32

func (*UserX86FpregsEntry) GetTwd

func (x *UserX86FpregsEntry) GetTwd() uint32

func (*UserX86FpregsEntry) GetXmmSpace

func (x *UserX86FpregsEntry) GetXmmSpace() []uint32

func (*UserX86FpregsEntry) GetXsave

func (x *UserX86FpregsEntry) GetXsave() *UserX86XsaveEntry

func (*UserX86FpregsEntry) ProtoMessage

func (*UserX86FpregsEntry) ProtoMessage()

func (*UserX86FpregsEntry) ProtoReflect

func (x *UserX86FpregsEntry) ProtoReflect() protoreflect.Message

func (*UserX86FpregsEntry) Reset

func (x *UserX86FpregsEntry) Reset()

func (*UserX86FpregsEntry) String

func (x *UserX86FpregsEntry) String() string

type UserX86RegsEntry

type UserX86RegsEntry struct {
	R15    *uint64          `protobuf:"varint,1,req,name=r15" json:"r15,omitempty"`
	R14    *uint64          `protobuf:"varint,2,req,name=r14" json:"r14,omitempty"`
	R13    *uint64          `protobuf:"varint,3,req,name=r13" json:"r13,omitempty"`
	R12    *uint64          `protobuf:"varint,4,req,name=r12" json:"r12,omitempty"`
	Bp     *uint64          `protobuf:"varint,5,req,name=bp" json:"bp,omitempty"`
	Bx     *uint64          `protobuf:"varint,6,req,name=bx" json:"bx,omitempty"`
	R11    *uint64          `protobuf:"varint,7,req,name=r11" json:"r11,omitempty"`
	R10    *uint64          `protobuf:"varint,8,req,name=r10" json:"r10,omitempty"`
	R9     *uint64          `protobuf:"varint,9,req,name=r9" json:"r9,omitempty"`
	R8     *uint64          `protobuf:"varint,10,req,name=r8" json:"r8,omitempty"`
	Ax     *uint64          `protobuf:"varint,11,req,name=ax" json:"ax,omitempty"`
	Cx     *uint64          `protobuf:"varint,12,req,name=cx" json:"cx,omitempty"`
	Dx     *uint64          `protobuf:"varint,13,req,name=dx" json:"dx,omitempty"`
	Si     *uint64          `protobuf:"varint,14,req,name=si" json:"si,omitempty"`
	Di     *uint64          `protobuf:"varint,15,req,name=di" json:"di,omitempty"`
	OrigAx *uint64          `protobuf:"varint,16,req,name=orig_ax,json=origAx" json:"orig_ax,omitempty"`
	Ip     *uint64          `protobuf:"varint,17,req,name=ip" json:"ip,omitempty"`
	Cs     *uint64          `protobuf:"varint,18,req,name=cs" json:"cs,omitempty"`
	Flags  *uint64          `protobuf:"varint,19,req,name=flags" json:"flags,omitempty"`
	Sp     *uint64          `protobuf:"varint,20,req,name=sp" json:"sp,omitempty"`
	Ss     *uint64          `protobuf:"varint,21,req,name=ss" json:"ss,omitempty"`
	FsBase *uint64          `protobuf:"varint,22,req,name=fs_base,json=fsBase" json:"fs_base,omitempty"`
	GsBase *uint64          `protobuf:"varint,23,req,name=gs_base,json=gsBase" json:"gs_base,omitempty"`
	Ds     *uint64          `protobuf:"varint,24,req,name=ds" json:"ds,omitempty"`
	Es     *uint64          `protobuf:"varint,25,req,name=es" json:"es,omitempty"`
	Fs     *uint64          `protobuf:"varint,26,req,name=fs" json:"fs,omitempty"`
	Gs     *uint64          `protobuf:"varint,27,req,name=gs" json:"gs,omitempty"`
	Mode   *UserX86RegsMode `protobuf:"varint,28,opt,name=mode,enum=UserX86RegsMode,def=1" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

Reusing entry for both 64 and 32 bits register sets

func (*UserX86RegsEntry) Descriptor deprecated

func (*UserX86RegsEntry) Descriptor() ([]byte, []int)

Deprecated: Use UserX86RegsEntry.ProtoReflect.Descriptor instead.

func (*UserX86RegsEntry) GetAx

func (x *UserX86RegsEntry) GetAx() uint64

func (*UserX86RegsEntry) GetBp

func (x *UserX86RegsEntry) GetBp() uint64

func (*UserX86RegsEntry) GetBx

func (x *UserX86RegsEntry) GetBx() uint64

func (*UserX86RegsEntry) GetCs

func (x *UserX86RegsEntry) GetCs() uint64

func (*UserX86RegsEntry) GetCx

func (x *UserX86RegsEntry) GetCx() uint64

func (*UserX86RegsEntry) GetDi

func (x *UserX86RegsEntry) GetDi() uint64

func (*UserX86RegsEntry) GetDs

func (x *UserX86RegsEntry) GetDs() uint64

func (*UserX86RegsEntry) GetDx

func (x *UserX86RegsEntry) GetDx() uint64

func (*UserX86RegsEntry) GetEs

func (x *UserX86RegsEntry) GetEs() uint64

func (*UserX86RegsEntry) GetFlags

func (x *UserX86RegsEntry) GetFlags() uint64

func (*UserX86RegsEntry) GetFs

func (x *UserX86RegsEntry) GetFs() uint64

func (*UserX86RegsEntry) GetFsBase

func (x *UserX86RegsEntry) GetFsBase() uint64

func (*UserX86RegsEntry) GetGs

func (x *UserX86RegsEntry) GetGs() uint64

func (*UserX86RegsEntry) GetGsBase

func (x *UserX86RegsEntry) GetGsBase() uint64

func (*UserX86RegsEntry) GetIp

func (x *UserX86RegsEntry) GetIp() uint64

func (*UserX86RegsEntry) GetMode

func (x *UserX86RegsEntry) GetMode() UserX86RegsMode

func (*UserX86RegsEntry) GetOrigAx

func (x *UserX86RegsEntry) GetOrigAx() uint64

func (*UserX86RegsEntry) GetR10

func (x *UserX86RegsEntry) GetR10() uint64

func (*UserX86RegsEntry) GetR11

func (x *UserX86RegsEntry) GetR11() uint64

func (*UserX86RegsEntry) GetR12

func (x *UserX86RegsEntry) GetR12() uint64

func (*UserX86RegsEntry) GetR13

func (x *UserX86RegsEntry) GetR13() uint64

func (*UserX86RegsEntry) GetR14

func (x *UserX86RegsEntry) GetR14() uint64

func (*UserX86RegsEntry) GetR15

func (x *UserX86RegsEntry) GetR15() uint64

func (*UserX86RegsEntry) GetR8

func (x *UserX86RegsEntry) GetR8() uint64

func (*UserX86RegsEntry) GetR9

func (x *UserX86RegsEntry) GetR9() uint64

func (*UserX86RegsEntry) GetSi

func (x *UserX86RegsEntry) GetSi() uint64

func (*UserX86RegsEntry) GetSp

func (x *UserX86RegsEntry) GetSp() uint64

func (*UserX86RegsEntry) GetSs

func (x *UserX86RegsEntry) GetSs() uint64

func (*UserX86RegsEntry) ProtoMessage

func (*UserX86RegsEntry) ProtoMessage()

func (*UserX86RegsEntry) ProtoReflect

func (x *UserX86RegsEntry) ProtoReflect() protoreflect.Message

func (*UserX86RegsEntry) Reset

func (x *UserX86RegsEntry) Reset()

func (*UserX86RegsEntry) String

func (x *UserX86RegsEntry) String() string

type UserX86RegsMode

type UserX86RegsMode int32
const (
	UserX86RegsMode_NATIVE UserX86RegsMode = 1
	UserX86RegsMode_COMPAT UserX86RegsMode = 2
)

func (UserX86RegsMode) Descriptor

func (UserX86RegsMode) Enum

func (x UserX86RegsMode) Enum() *UserX86RegsMode

func (UserX86RegsMode) EnumDescriptor deprecated

func (UserX86RegsMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserX86RegsMode.Descriptor instead.

func (UserX86RegsMode) Number

func (UserX86RegsMode) String

func (x UserX86RegsMode) String() string

func (UserX86RegsMode) Type

func (*UserX86RegsMode) UnmarshalJSON deprecated

func (x *UserX86RegsMode) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type UserX86XsaveEntry

type UserX86XsaveEntry struct {

	// standard xsave features
	XstateBv *uint64 `protobuf:"varint,1,req,name=xstate_bv,json=xstateBv" json:"xstate_bv,omitempty"`
	// AVX components: 16x 256-bit ymm registers, hi 128 bits
	YmmhSpace []uint32 `protobuf:"varint,2,rep,name=ymmh_space,json=ymmhSpace" json:"ymmh_space,omitempty"`
	// MPX components
	BndregState []uint64 `protobuf:"varint,3,rep,name=bndreg_state,json=bndregState" json:"bndreg_state,omitempty"`
	BndcsrState []uint64 `protobuf:"varint,4,rep,name=bndcsr_state,json=bndcsrState" json:"bndcsr_state,omitempty"`
	// AVX512 components: k0-k7, ZMM_Hi256, Hi16_ZMM
	OpmaskReg []uint64 `protobuf:"varint,5,rep,name=opmask_reg,json=opmaskReg" json:"opmask_reg,omitempty"`
	ZmmUpper  []uint64 `protobuf:"varint,6,rep,name=zmm_upper,json=zmmUpper" json:"zmm_upper,omitempty"`
	Hi16Zmm   []uint64 `protobuf:"varint,7,rep,name=hi16_zmm,json=hi16Zmm" json:"hi16_zmm,omitempty"`
	// Protected keys
	Pkru []uint32 `protobuf:"varint,8,rep,name=pkru" json:"pkru,omitempty"`
	// contains filtered or unexported fields
}

func (*UserX86XsaveEntry) Descriptor deprecated

func (*UserX86XsaveEntry) Descriptor() ([]byte, []int)

Deprecated: Use UserX86XsaveEntry.ProtoReflect.Descriptor instead.

func (*UserX86XsaveEntry) GetBndcsrState

func (x *UserX86XsaveEntry) GetBndcsrState() []uint64

func (*UserX86XsaveEntry) GetBndregState

func (x *UserX86XsaveEntry) GetBndregState() []uint64

func (*UserX86XsaveEntry) GetHi16Zmm

func (x *UserX86XsaveEntry) GetHi16Zmm() []uint64

func (*UserX86XsaveEntry) GetOpmaskReg

func (x *UserX86XsaveEntry) GetOpmaskReg() []uint64

func (*UserX86XsaveEntry) GetPkru

func (x *UserX86XsaveEntry) GetPkru() []uint32

func (*UserX86XsaveEntry) GetXstateBv

func (x *UserX86XsaveEntry) GetXstateBv() uint64

func (*UserX86XsaveEntry) GetYmmhSpace

func (x *UserX86XsaveEntry) GetYmmhSpace() []uint32

func (*UserX86XsaveEntry) GetZmmUpper

func (x *UserX86XsaveEntry) GetZmmUpper() []uint64

func (*UserX86XsaveEntry) ProtoMessage

func (*UserX86XsaveEntry) ProtoMessage()

func (*UserX86XsaveEntry) ProtoReflect

func (x *UserX86XsaveEntry) ProtoReflect() protoreflect.Message

func (*UserX86XsaveEntry) Reset

func (x *UserX86XsaveEntry) Reset()

func (*UserX86XsaveEntry) String

func (x *UserX86XsaveEntry) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL