diff options
| author | Zubin Mithra <zsm@chromium.org> | 2020-02-06 13:58:50 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-02-20 17:37:54 +0100 |
| commit | 02698d8bc45175a6626098daa8badd62ff88dcfb (patch) | |
| tree | d09d0482913c9f2d16afb7b3524e1c97f3028cf9 /executor | |
| parent | 81230308c61b57d9f496c92c439c0d38e07a0d26 (diff) | |
vm/isolated: add initial support for fuzzing chromebooks
(WIP PR)
Add support for StartupScript.
* Modify Config{} to contain PostRepairScript.
* Allow repair() to execute a startup_script after reboot. The contents
of this script execute on the DUT.
Add pstore support:
* Modify Config{} to contain Pstore.
* Modify Diagnose() to reboot the DUT and fetch pstore logs,
conditional on inst.cfg.Pstore.
* Add readPstoreContents().
* Allow clearing previous pstore logs upon Create() and after use inside
readPstoreContents().
* Fetching pstore crashlogs relies on reliably getting lost connection
on DUT reboot. Use "ServerAliveInterval=6 ServerAliveCountMax=5" ssh
options when running syz-fuzzer with Pstore support enabled.
Allow parsing pstore contents:
* Diagnose() now returns pstore contents.
Refactoring:
* Move out some reusable parts of repair() to waitRebootAndSSH().
* Have an early return inside repair() if inst.waitForSSH() fails.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
