repo.or.cz
/
git
/
debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
t4202: fix patternType setting in --invert-grep test
[git/debian.git]
/
fuzz-pack-idx.c
blob
0c3d777aac8de618a36777c5c82edae302c1bbcc
1
#include
"object-store.h"
2
#include
"packfile.h"
3
4
int
LLVMFuzzerTestOneInput
(
const uint8_t
*
data
,
size_t
size
);
5
6
int
LLVMFuzzerTestOneInput
(
const uint8_t
*
data
,
size_t
size
)
7
{
8
struct
packed_git p
;
9
10
load_idx
(
"fuzz-input"
,
GIT_SHA1_RAWSZ
, (
void
*)
data
,
size
, &
p
);
11
12
return
0
;
13
}