Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureTextFromBinaryFile ¶
func CaptureTextFromBinaryFile(file io.ReadSeeker, regularExpression string) string
Types ¶
type DefaultImpl ¶
type KernelFileInfo ¶
type KernelFileInfo struct {
Arch LinuxArch
Type KernelType
Version string
FileSystemBackend afero.Fs
}
func NewKernelFileInfo ¶
func NewKernelFileInfo(fsb afero.Fs, file io.ReadSeeker) *KernelFileInfo
type Pattern ¶
type Pattern struct {
Type PatternType
RegExp string `json:"regexp"`
Seek int64 `json:"seek"`
BufferSize int64 `json:"buffer-size"`
FileSystemBackend afero.Fs
}
type PatternType ¶
type PatternType int
const ( CustomPattern PatternType = iota UBootPattern PatternType = iota LinuxKernelPattern PatternType = iota )
type TargetProvider ¶
Click to show internal directories.
Click to hide internal directories.