Home
last modified time | relevance | path

Searched refs:fuzz_buf (Results 1 – 1 of 1) sorted by relevance

/openbmc/libmctp/tests/fuzz/
H A Di2c-fuzz.c38 struct fuzz_buf { struct
45 struct fuzz_buf *ctrl; argument
46 struct fuzz_buf *input;
56 static struct fuzz_buf *fuzz_buf_new(const void *data, size_t len) in fuzz_buf_new()
58 struct fuzz_buf *buf = malloc(sizeof(struct fuzz_buf)); in fuzz_buf_new()
65 static const void *fuzz_buf_extract(struct fuzz_buf *buf, size_t len) in fuzz_buf_extract()
77 static bool fuzz_buf_extract_u32(struct fuzz_buf *buf, uint32_t *ret) in fuzz_buf_extract_u32()