diff options
author | Josh Steadmon <steadmon@google.com> | 2018-10-12 17:58:41 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-15 14:29:03 +0900 |
commit | 1127a98ccea2a911d2043dcc9ce301e080a3cc39 (patch) | |
tree | e22ba4d30cc39102180641508bdff90b9fef76dd /Makefile | |
parent | fuzz: add basic fuzz testing target. (diff) | |
download | tgif-1127a98ccea2a911d2043dcc9ce301e080a3cc39.tar.xz |
fuzz: add fuzz testing for packfile indices.
Breaks the majority of check_packed_git_idx() into a separate function,
load_idx(). The latter function operates on arbitrary buffers, which
makes it suitable as a fuzzing test target.
Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -685,6 +685,7 @@ SCRIPTS = $(SCRIPT_SH_INS) \ ETAGS_TARGET = TAGS FUZZ_OBJS += fuzz-pack-headers.o +FUZZ_OBJS += fuzz-pack-idx.o # Always build fuzz objects even if not testing, to prevent bit-rot. all:: $(FUZZ_OBJS) |