From a376af96660c5d8bc242c0413ce2eeeb1865ca63 Mon Sep 17 00:00:00 2001 From: reokodoku Date: Thu, 8 Aug 2024 00:55:17 +0200 Subject: [PATCH] Fix AFLplusplus fuzz test --- test/fuzz/fuzz_lib.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fuzz/fuzz_lib.zig b/test/fuzz/fuzz_lib.zig index 730a1881..9bcb9135 100644 --- a/test/fuzz/fuzz_lib.zig +++ b/test/fuzz/fuzz_lib.zig @@ -27,7 +27,7 @@ fn compileSlice(buf: []const u8) !void { const aro_dir = try std.fs.selfExePathAlloc(allocator); defer allocator.free(aro_dir); - var comp = Compilation.init(allocator); + var comp = Compilation.init(allocator, std.fs.cwd()); defer comp.deinit(); try comp.addDefaultPragmaHandlers();