Mercurial > dropbear
comparison fuzz-wrapfd.h @ 1782:a6da10ac64b5 fuzz
fuzz: make postauth set authdone properly
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 03 Dec 2020 22:18:51 +0800 |
parents | 97ad26e397a5 |
children | 685b47d8faf7 |
comparison
equal
deleted
inserted
replaced
1781:bf1912d2d6e9 | 1782:a6da10ac64b5 |
---|---|
10 }; | 10 }; |
11 | 11 |
12 // buf is a common buffer read by all wrapped FDs. doesn't take ownership of buf | 12 // buf is a common buffer read by all wrapped FDs. doesn't take ownership of buf |
13 void wrapfd_setup(buffer *buf); | 13 void wrapfd_setup(buffer *buf); |
14 void wrapfd_setseed(uint32_t seed); | 14 void wrapfd_setseed(uint32_t seed); |
15 int wrapfd_new_fuzzinput(); | 15 int wrapfd_new_fuzzinput(void); |
16 int wrapfd_new_dummy(); | 16 int wrapfd_new_dummy(void); |
17 | 17 |
18 // called via #defines for read/write/select | 18 // called via #defines for read/write/select |
19 int wrapfd_read(int fd, void *out, size_t count); | 19 int wrapfd_read(int fd, void *out, size_t count); |
20 int wrapfd_write(int fd, const void* in, size_t count); | 20 int wrapfd_write(int fd, const void* in, size_t count); |
21 int wrapfd_select(int nfds, fd_set *readfds, fd_set *writefds, | 21 int wrapfd_select(int nfds, fd_set *readfds, fd_set *writefds, |