syz-bisect

command
v0.0.0-...-26c8979 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

syz-bisect runs bisection to find cause/fix commit for a crash.

The tool is originally created to test pkg/bisect logic, the interface is not particularly handy to use.

The tool requires a config file passed in -config flag, see Config type below for details, and a directory with info about the crash passed in -crash flag). If -fix flag is specified, it does fix bisection. Otherwise it does cause bisection.

The crash dir should contain the following files:

  • repro.c: C reproducer for the crash (optional)
  • repro.syz: syzkaller reproducer for the crash
  • repro.opts: syzkaller reproducer options (e.g. {"procs":1,"sandbox":"none",...})
  • syzkaller.commit: hash of syzkaller commit which was used to trigger the crash
  • kernel.commit: hash of kernel commit on which the crash was triggered
  • kernel.config: kernel config file

Jump to

Keyboard shortcuts

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