syz-repro-automation

command
v0.0.0-...-5fd22c5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

README

Syz-Repro Automation

Setup

To build syz-repro-automation, first set up your GOPATH environment variable and then run the following commands

$ GOPATH_DIR=`echo $GOPATH | cut -d ':' -f1`
$ mkdir -p ${GOPATH_DIR}/src/github.com/google
$ export GO111MODULE=off
$ ln -s $(pwd) ~/repos/GOPATH/src/github.com/google/syz-repro-automation
$ go build

Usage

To run syz-repro on a single log file, the user can run

$ ./syz-repro-automation -logfile [-flags] PATH/TO/LOGFILE

The available flags are:

  • -model: specify what model device to lease (default: garg)
  • -minutes: specify how many minutes to lease the device for (default: 60)
  • -imageid: specify the kernel image id to flash onto the DUT (default: lookup the latest image for the DUT board)

To run syz-repro on a directory, the user can run

$ ./syz-repro-automation -logdir PATH/TO/LOGDIR

Your root directory at PATH/TO/LOGDIR must be structured in the following format:

logdir
│   logopts.yaml
└───bugs
	└───189546178
	│  	└───log0
	└───188960160
		└───log0

Note each subdirectory in bugs is a numeric buganizer ID.

Then logopts.yaml should be structured as follows:

bugs:
- id: 189546178
  dut:
    imageid: R93-13996.0.0-48962-8846054154814192240
    model: pompom
- id: 188960160
  dut:
    imageid: R93-13984.0.0-48668-8846614155709648032
    model: limozeen

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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