mirror of
https://github.com/git/git.git
synced 2026-10-26 16:15:26 +01:00
Add a new fuzzer that exercises our parsing of reftables. Fallout from this fuzzer will be fixed over subsequent commits. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
23 lines
486 B
Meson
23 lines
486 B
Meson
fuzz_programs = [
|
|
'fuzz-commit-graph.c',
|
|
'fuzz-config.c',
|
|
'fuzz-credential-from-url-gently.c',
|
|
'fuzz-date.c',
|
|
'fuzz-pack-headers.c',
|
|
'fuzz-pack-idx.c',
|
|
'fuzz-parse-attr-line.c',
|
|
'fuzz-reftable.c',
|
|
'fuzz-url-decode-mem.c',
|
|
]
|
|
|
|
foreach fuzz_program : fuzz_programs
|
|
executable(fs.stem(fuzz_program),
|
|
sources: [
|
|
'dummy-cmd-main.c',
|
|
fuzz_program,
|
|
],
|
|
dependencies: [libgit_commonmain],
|
|
link_args: get_option('fuzzers_link_args'),
|
|
)
|
|
endforeach
|