From 355120109b18844a29cdc25cf04380575c2589c4 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 30 Apr 2026 13:18:13 +0200 Subject: tests: fix the assembler fuzzer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We needed to pass the new 'allow_unused' parameter. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/fuzz/fuzz_targets/fuzz_target_assembler.rs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'lib/xixanta/fuzz/fuzz_targets/fuzz_target_assembler.rs') diff --git a/lib/xixanta/fuzz/fuzz_targets/fuzz_target_assembler.rs b/lib/xixanta/fuzz/fuzz_targets/fuzz_target_assembler.rs index 72077d9..649b017 100644 --- a/lib/xixanta/fuzz/fuzz_targets/fuzz_target_assembler.rs +++ b/lib/xixanta/fuzz/fuzz_targets/fuzz_target_assembler.rs @@ -4,6 +4,20 @@ use libfuzzer_sys::fuzz_target; use xixanta::assembler::assemble; fuzz_target!(|data: &[u8]| { - let _ = assemble(data, "empty", &[], &xixanta::SourceInfo::default(), false); - let _ = assemble(data, "empty", &[], &xixanta::SourceInfo::default(), true); + let _ = assemble( + data, + "empty", + &[], + &xixanta::SourceInfo::default(), + false, + false, + ); + let _ = assemble( + data, + "empty", + &[], + &xixanta::SourceInfo::default(), + false, + true, + ); }); -- cgit v1.2.3