sbpfver

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SbpfVersionV0 = iota
	SbpfVersionV1
	SbpfVersionV2
	SbpfVersionV3
)

Variables

This section is empty.

Functions

func GetMinAndMaxSbpfVersions

func GetMinAndMaxSbpfVersions(f *features.Features) (uint32, uint32)

Types

type SbpfVersion

type SbpfVersion struct {
	Version uint32
}

func (*SbpfVersion) CallXUsesSrcReg

func (ver *SbpfVersion) CallXUsesSrcReg() bool

func (*SbpfVersion) DisableLddw

func (ver *SbpfVersion) DisableLddw() bool

func (*SbpfVersion) DisableLe

func (ver *SbpfVersion) DisableLe() bool

func (*SbpfVersion) DisableNeg

func (ver *SbpfVersion) DisableNeg() bool

func (*SbpfVersion) DynamicStackFrames

func (ver *SbpfVersion) DynamicStackFrames() bool

func (*SbpfVersion) EnableElfVAddr

func (ver *SbpfVersion) EnableElfVAddr() bool

func (*SbpfVersion) EnablePqr

func (ver *SbpfVersion) EnablePqr() bool

func (*SbpfVersion) EnableStaticSyscalls

func (ver *SbpfVersion) EnableStaticSyscalls() bool

func (*SbpfVersion) ExplicitSignExtensionOfResults

func (ver *SbpfVersion) ExplicitSignExtensionOfResults() bool

func (*SbpfVersion) MoveMemoryInstructionClasses

func (ver *SbpfVersion) MoveMemoryInstructionClasses() bool

func (*SbpfVersion) RejectRodataStackOverlap

func (ver *SbpfVersion) RejectRodataStackOverlap() bool

func (*SbpfVersion) SwapSubRegImmOperands

func (ver *SbpfVersion) SwapSubRegImmOperands() bool

Jump to

Keyboard shortcuts

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