From 928cf80782b1bc883747a64ccaad69c497a682a1 Mon Sep 17 00:00:00 2001 From: Romain Malmain Date: Mon, 18 Mar 2024 18:51:19 +0100 Subject: [PATCH] fix unwrap. (#1954) --- fuzzers/qemu_systemmode/src/fuzzer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzzers/qemu_systemmode/src/fuzzer.rs b/fuzzers/qemu_systemmode/src/fuzzer.rs index b4749ae831..75cc20bd9b 100644 --- a/fuzzers/qemu_systemmode/src/fuzzer.rs +++ b/fuzzers/qemu_systemmode/src/fuzzer.rs @@ -117,7 +117,7 @@ pub fn fuzz() { emu.write_phys_mem(input_addr, buf); - emu.run().unwrap(); + let _ = emu.run(); // If the execution stops at any point other then the designated breakpoint (e.g. a breakpoint on a panic method) we consider it a crash let mut pcs = (0..emu.num_cpus())