image

package
v0.0.0-...-6de12c4 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_pb_image_manifest_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ByteRange

type ByteRange struct {
	Start int64  `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	Size  uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*ByteRange) Descriptor deprecated

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

Deprecated: Use ByteRange.ProtoReflect.Descriptor instead.

func (*ByteRange) GetSize

func (x *ByteRange) GetSize() uint32

func (*ByteRange) GetStart

func (x *ByteRange) GetStart() int64

func (*ByteRange) ProtoMessage

func (*ByteRange) ProtoMessage()

func (*ByteRange) ProtoReflect

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

func (*ByteRange) Reset

func (x *ByteRange) Reset()

func (*ByteRange) String

func (x *ByteRange) String() string

type Function

type Function struct {
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Addr  uint32 `protobuf:"varint,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// contains filtered or unexported fields
}

func (*Function) Descriptor deprecated

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

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) GetAddr

func (x *Function) GetAddr() uint32

func (*Function) GetIndex

func (x *Function) GetIndex() uint32

func (*Function) ProtoMessage

func (*Function) ProtoMessage()

func (*Function) ProtoReflect

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

func (*Function) Reset

func (x *Function) Reset()

func (*Function) String

func (x *Function) String() string

type InstanceManifest

type InstanceManifest struct {
	TextAddr      uint64             `protobuf:"varint,1,opt,name=text_addr,json=textAddr,proto3" json:"text_addr,omitempty"`
	StackSize     uint32             `protobuf:"varint,2,opt,name=stack_size,json=stackSize,proto3" json:"stack_size,omitempty"`
	StackUsage    uint32             `protobuf:"varint,3,opt,name=stack_usage,json=stackUsage,proto3" json:"stack_usage,omitempty"`
	GlobalsSize   uint32             `protobuf:"varint,4,opt,name=globals_size,json=globalsSize,proto3" json:"globals_size,omitempty"`
	MemorySize    uint32             `protobuf:"varint,5,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"`
	MaxMemorySize uint32             `protobuf:"varint,6,opt,name=max_memory_size,json=maxMemorySize,proto3" json:"max_memory_size,omitempty"`
	StartFunc     *Function          `protobuf:"bytes,7,opt,name=start_func,json=startFunc,proto3" json:"start_func,omitempty"`
	EntryFunc     *Function          `protobuf:"bytes,8,opt,name=entry_func,json=entryFunc,proto3" json:"entry_func,omitempty"`
	Snapshot      *snapshot.Snapshot `protobuf:"bytes,9,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceManifest) Descriptor deprecated

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

Deprecated: Use InstanceManifest.ProtoReflect.Descriptor instead.

func (*InstanceManifest) GetEntryFunc

func (x *InstanceManifest) GetEntryFunc() *Function

func (*InstanceManifest) GetGlobalsSize

func (x *InstanceManifest) GetGlobalsSize() uint32

func (*InstanceManifest) GetMaxMemorySize

func (x *InstanceManifest) GetMaxMemorySize() uint32

func (*InstanceManifest) GetMemorySize

func (x *InstanceManifest) GetMemorySize() uint32

func (*InstanceManifest) GetSnapshot

func (x *InstanceManifest) GetSnapshot() *snapshot.Snapshot

func (*InstanceManifest) GetStackSize

func (x *InstanceManifest) GetStackSize() uint32

func (*InstanceManifest) GetStackUsage

func (x *InstanceManifest) GetStackUsage() uint32

func (*InstanceManifest) GetStartFunc

func (x *InstanceManifest) GetStartFunc() *Function

func (*InstanceManifest) GetTextAddr

func (x *InstanceManifest) GetTextAddr() uint64

func (*InstanceManifest) ProtoMessage

func (*InstanceManifest) ProtoMessage()

func (*InstanceManifest) ProtoReflect

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

func (*InstanceManifest) Reset

func (x *InstanceManifest) Reset()

func (*InstanceManifest) String

func (x *InstanceManifest) String() string

type ProgramManifest

type ProgramManifest struct {
	LibraryChecksum         uint64            `protobuf:"fixed64,1,opt,name=library_checksum,json=libraryChecksum,proto3" json:"library_checksum,omitempty"`
	TextRevision            int32             `protobuf:"varint,2,opt,name=text_revision,json=textRevision,proto3" json:"text_revision,omitempty"`
	TextAddr                uint64            `protobuf:"varint,3,opt,name=text_addr,json=textAddr,proto3" json:"text_addr,omitempty"`
	TextSize                uint32            `protobuf:"varint,4,opt,name=text_size,json=textSize,proto3" json:"text_size,omitempty"`
	StackUsage              uint32            `protobuf:"varint,5,opt,name=stack_usage,json=stackUsage,proto3" json:"stack_usage,omitempty"`
	GlobalsSize             uint32            `protobuf:"varint,6,opt,name=globals_size,json=globalsSize,proto3" json:"globals_size,omitempty"`
	MemorySize              uint32            `protobuf:"varint,7,opt,name=memory_size,json=memorySize,proto3" json:"memory_size,omitempty"`
	MemorySizeLimit         int64             `protobuf:"zigzag64,8,opt,name=memory_size_limit,json=memorySizeLimit,proto3" json:"memory_size_limit,omitempty"`
	MemoryDataSize          uint32            `protobuf:"varint,9,opt,name=memory_data_size,json=memoryDataSize,proto3" json:"memory_data_size,omitempty"`
	ModuleSize              int64             `protobuf:"varint,10,opt,name=module_size,json=moduleSize,proto3" json:"module_size,omitempty"`
	Sections                []*ByteRange      `protobuf:"bytes,11,rep,name=sections,proto3" json:"sections,omitempty"`
	SnapshotSection         *ByteRange        `protobuf:"bytes,12,opt,name=snapshot_section,json=snapshotSection,proto3" json:"snapshot_section,omitempty"`
	ExportSectionWrap       *ByteRange        `protobuf:"bytes,13,opt,name=export_section_wrap,json=exportSectionWrap,proto3" json:"export_section_wrap,omitempty"`
	BufferSection           *ByteRange        `protobuf:"bytes,14,opt,name=buffer_section,json=bufferSection,proto3" json:"buffer_section,omitempty"`
	BufferSectionHeaderSize uint32            `` /* 136-byte string literal not displayed */
	StackSection            *ByteRange        `protobuf:"bytes,16,opt,name=stack_section,json=stackSection,proto3" json:"stack_section,omitempty"`
	GlobalTypes             []byte            `protobuf:"bytes,17,opt,name=global_types,json=globalTypes,proto3" json:"global_types,omitempty"` // Limited by wag's maxGlobals check.
	StartFunc               *Function         `protobuf:"bytes,18,opt,name=start_func,json=startFunc,proto3" json:"start_func,omitempty"`
	EntryIndexes            map[string]uint32 `` // Limited by func name len and wag's maxExports check.
	/* 173-byte string literal not displayed */
	EntryAddrs    map[uint32]uint32  `` /* 168-byte string literal not displayed */
	CallSitesSize uint32             `protobuf:"varint,21,opt,name=call_sites_size,json=callSitesSize,proto3" json:"call_sites_size,omitempty"`
	FuncAddrsSize uint32             `protobuf:"varint,22,opt,name=func_addrs_size,json=funcAddrsSize,proto3" json:"func_addrs_size,omitempty"`
	Random        bool               `protobuf:"varint,23,opt,name=random,proto3" json:"random,omitempty"`
	Snapshot      *snapshot.Snapshot `protobuf:"bytes,24,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

func (*ProgramManifest) Descriptor deprecated

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

Deprecated: Use ProgramManifest.ProtoReflect.Descriptor instead.

func (*ProgramManifest) GetBufferSection

func (x *ProgramManifest) GetBufferSection() *ByteRange

func (*ProgramManifest) GetBufferSectionHeaderSize

func (x *ProgramManifest) GetBufferSectionHeaderSize() uint32

func (*ProgramManifest) GetCallSitesSize

func (x *ProgramManifest) GetCallSitesSize() uint32

func (*ProgramManifest) GetEntryAddrs

func (x *ProgramManifest) GetEntryAddrs() map[uint32]uint32

func (*ProgramManifest) GetEntryIndexes

func (x *ProgramManifest) GetEntryIndexes() map[string]uint32

func (*ProgramManifest) GetExportSectionWrap

func (x *ProgramManifest) GetExportSectionWrap() *ByteRange

func (*ProgramManifest) GetFuncAddrsSize

func (x *ProgramManifest) GetFuncAddrsSize() uint32

func (*ProgramManifest) GetGlobalTypes

func (x *ProgramManifest) GetGlobalTypes() []byte

func (*ProgramManifest) GetGlobalsSize

func (x *ProgramManifest) GetGlobalsSize() uint32

func (*ProgramManifest) GetLibraryChecksum

func (x *ProgramManifest) GetLibraryChecksum() uint64

func (*ProgramManifest) GetMemoryDataSize

func (x *ProgramManifest) GetMemoryDataSize() uint32

func (*ProgramManifest) GetMemorySize

func (x *ProgramManifest) GetMemorySize() uint32

func (*ProgramManifest) GetMemorySizeLimit

func (x *ProgramManifest) GetMemorySizeLimit() int64

func (*ProgramManifest) GetModuleSize

func (x *ProgramManifest) GetModuleSize() int64

func (*ProgramManifest) GetRandom

func (x *ProgramManifest) GetRandom() bool

func (*ProgramManifest) GetSections

func (x *ProgramManifest) GetSections() []*ByteRange

func (*ProgramManifest) GetSnapshot

func (x *ProgramManifest) GetSnapshot() *snapshot.Snapshot

func (*ProgramManifest) GetSnapshotSection

func (x *ProgramManifest) GetSnapshotSection() *ByteRange

func (*ProgramManifest) GetStackSection

func (x *ProgramManifest) GetStackSection() *ByteRange

func (*ProgramManifest) GetStackUsage

func (x *ProgramManifest) GetStackUsage() uint32

func (*ProgramManifest) GetStartFunc

func (x *ProgramManifest) GetStartFunc() *Function

func (*ProgramManifest) GetTextAddr

func (x *ProgramManifest) GetTextAddr() uint64

func (*ProgramManifest) GetTextRevision

func (x *ProgramManifest) GetTextRevision() int32

func (*ProgramManifest) GetTextSize

func (x *ProgramManifest) GetTextSize() uint32

func (*ProgramManifest) ProtoMessage

func (*ProgramManifest) ProtoMessage()

func (*ProgramManifest) ProtoReflect

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

func (*ProgramManifest) Reset

func (x *ProgramManifest) Reset()

func (*ProgramManifest) String

func (x *ProgramManifest) String() string

Jump to

Keyboard shortcuts

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