Documentation ¶
Overview ¶
Package vminfo extracts information about the target VM. The package itself runs on the host, which may be a different OS/arch. User of the package first requests set of files that needs to be fetched from the VM and set of test programs that needs to be executed in the VM (Checker.RequiredThings), then fetches these files and executes test programs, and calls Checker.MachineInfo to parse the files and extract information about the VM, and optionally calls Checker.Check to obtain list of enabled/disabled syscalls. The information includes information about kernel modules and OS-specific info (for Linux that includes things like parsed /proc/cpuinfo).
Index ¶
- type Checker
- func (checker *Checker) MachineInfo(fileInfos []*flatrpc.FileInfo) ([]*KernelModule, []byte, error)
- func (checker *Checker) Next() *queue.Request
- func (checker *Checker) Run(files []*flatrpc.FileInfo, featureInfos []*flatrpc.FeatureInfo) (map[*prog.Syscall]bool, map[*prog.Syscall]string, Features, error)
- type Config
- type Feature
- type Features
- type KernelModule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}