txtpublic

package
v2.7.1-0...-5f38440 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRegister

func GetRegister[R registers.Register](s *types.State, out *R) error

GetRegister sets to `out` the value of the register (which is defined by its type).

func With

func With(state *types.State, callback func(*TXTPublic) error) error

With executes the callback if TXT registers collection is set.

Types

type TXTPublic

type TXTPublic struct {
	registers.Registers
}

TXTPublic is the collection of Intel TXT registers.

func Get

func Get(state *types.State) (*TXTPublic, error)

Get returns the collection of TXT registers.

func New

func New(rs registers.Registers) *TXTPublic

New collects TXT registers and returns them as a SystemArtifact.

func (*TXTPublic) ReadAt

func (c *TXTPublic) ReadAt(p []byte, off int64) (n int, err error)

ReadAt implements types.SystemArtifact.

func (*TXTPublic) Size

func (c *TXTPublic) Size() uint64

Size implements types.SystemArtifact.

Jump to

Keyboard shortcuts

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