Documentation ¶
Overview ¶
Package syzutils contains functionality shared by tests that exercise syzcorpus.
Index ¶
- func ClearDmesg(ctx context.Context, d *dut.DUT) error
- func CopyRepro(ctx context.Context, d *dut.DUT, localPath, remotePath string) error
- func ExtractCorpus(ctx context.Context, tastDir, dataPath string) error
- func FindDUTArch(ctx context.Context, d *dut.DUT) (string, error)
- func LoadEnabledRepros(fpath string) (map[string]bool, error)
- func MkdirRemote(ctx context.Context, d *dut.DUT, path string) error
- func RmdirRemote(ctx context.Context, d *dut.DUT, path string) error
- func RunRepro(ctx context.Context, d *dut.DUT, remotePath string, timeout time.Duration) ([]byte, error)
- func WarningInDmesg(ctx context.Context, d *dut.DUT) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearDmesg ¶
ClearDmesg clears the dmesg log.
func ExtractCorpus ¶
ExtractCorpus unzips the zip file pointed to by dataPath into tastDir.
func FindDUTArch ¶
FindDUTArch determines the DUT arch.
func LoadEnabledRepros ¶
LoadEnabledRepros reads and returns a list of repros from the provided input filepath.
func MkdirRemote ¶
MkdirRemote creates a directory at path on the DUT.
func RmdirRemote ¶
RmdirRemote recursively removes the directory at path on the DUT.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.