intelacm

package
v0.0.0-...-f44e450 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

ID represents the unique id of DiffMeasuredBoot analyzer

Variables

This section is empty.

Functions

func GetACMInfo

func GetACMInfo(image []byte) (*intelacmanalysis.ACMInfo, error)

GetACMInfo tries to parse ACM information from a firmware image

func New

func New() analysis.Analyzer[Input]

New returns a new object of IntelACM analyzer

func NewExecutorInput

func NewExecutorInput(
	originalFirmware analysis.Blob,
	actualFirmware analysis.Blob,
) (analysis.Input, error)

NewExecutorInput builds an analysis.Executor's input required for IntelACM analyzer

Types

type ErrNoSACMFound

type ErrNoSACMFound struct{}

ErrNoSACMFound means that "Startup AC Module" entry was not found

func (ErrNoSACMFound) Error

func (e ErrNoSACMFound) Error() string

type ErrParsingFITEntries

type ErrParsingFITEntries struct {
	// contains filtered or unexported fields
}

ErrParsingFITEntries means that an error happened when trying to get FIT entries

func (ErrParsingFITEntries) Error

func (e ErrParsingFITEntries) Error() string

type Input

type Input struct {
	OriginalFirmware analysis.OriginalFirmwareBlob
	ActualFirmware   analysis.ActualFirmwareBlob
}

Input is an input structure required for analyzer

type IntelACM

type IntelACM struct{}

IntelACM is analyzer that tries to reproduce given PCR0 value

func (*IntelACM) Analyze

func (analyzer *IntelACM) Analyze(ctx context.Context, in Input) (*analysis.Report, error)

Analyze makes the ACM gathering

func (*IntelACM) ID

func (analyzer *IntelACM) ID() analysis.AnalyzerID

ID implements the ID method required for analysis.Analyzer

Directories

Path Synopsis
report

Jump to

Keyboard shortcuts

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