tree: 60db41f27ddd9125e19b10afb1439cbaa2520dac [path history] [tgz]
  1. blacklistfns
  2. config.py
  3. dbgen.py
  4. dump_git_log.sh
  5. git.py
  6. issuetracker.py
  7. issuetracker_test.py
  8. README.md
  9. run4.py
  10. simpledb.py
  11. syzweb.py
  12. utils.py
contrib/syzbot-autotriager/README.md

Autotriager

A set of utilities that assist in triaging syzkaller bugs reported for Chrome OS kernels on IssueTracker.

Library dependencies

  • Beautiful Soup bs4(Link)
  • Python requests(Link)
  • Python dataset(Link)

Usage

  • Generate local caches of issuetracker bugs, and information from https://syzkaller.appspot.com. Also generate a local cache of commit information from various linux kernels.

    Edit config.py and ensure that CROS_ROOT points to your local copy of chromiumos source, and that LINUX points to your local copy of linux kernel source code. Next, run:

$ ./dbgen.py --fetchall --hotlistid <issuetracker_hotlistid>

Note that if you are in a hurry, it might be best to simply run the following commands, each in a seperate console instance:

$ ./dbgen.py --it --hotlistid <issuetracker_hotlistid>
$ ./dbgen.py --commits
$ ./dbgen.py --syzweb
  • Start off autotriager as follows:
$ ./run4.py
  • If you would like autotriager to match stacktraces(experimental) use:
$ ./run4.py --mst