Skip to content

Commit

Permalink
chore: update zig-afl-kit fork
Browse files Browse the repository at this point in the history
  • Loading branch information
ianprime0509 committed Dec 21, 2024
1 parent 5656de4 commit 6c9f8b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fuzz/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn build(b: *std.Build) void {
});
afl_obj.root_module.stack_check = false;
afl_obj.root_module.link_libc = true;
if (@hasField(@TypeOf(afl_obj.root_module), "fuzz")) afl_obj.root_module.fuzz = true;
if (@hasField(std.Build.Module, "fuzz")) afl_obj.root_module.fuzz = true;
afl_obj.root_module.addImport("xml", xml.module("xml"));

const afl_exe = afl.addInstrumentedExe(b, target, .Debug, afl_obj);
Expand Down
4 changes: 2 additions & 2 deletions fuzz/build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
.@"zig-afl-kit" = .{
// https://github.com/kristoff-it/zig-afl-kit/pull/1
.url = "git+https://github.com/ianprime0509/zig-afl-kit?ref=afl-path#5b0770089d2144eb7bde61bb02604344ec5f5d24",
.hash = "1220208b7e29e54dd723ebba03cd41e358d10bb3d75477cb4b43f73db29844f9efb9",
.url = "git+https://github.com/ianprime0509/zig-afl-kit?ref=afl-path#a77ce265ba72bcf5db84dc5f951c468e0a1d5649",
.hash = "122068b896eafc665a7d9a485fb5c29c2542c1c1768249a849722faafb937a249d4d",
},
},
}

0 comments on commit 6c9f8b6

Please sign in to comment.