Merge pull request #19 from schumilo/dev_aflpp

fix default config for Snapshot VMs (add serial device)
This commit is contained in:
Sergej Schumilo 2023-04-16 05:06:25 +02:00 committed by GitHub
commit 2da7f08b6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,8 +62,15 @@ impl QemuParams {
if debug {
cmd.push("mon:stdio".to_string());
} else {
match fuzzer_config.runner {
FuzzRunnerConfig::QemuKernel(_) => {
cmd.push("none".to_string());
}
FuzzRunnerConfig::QemuSnapshot(_) => {
cmd.push("stdio".to_string());
}
}
}
cmd.push("-enable-kvm".to_string());