comparison fuzz.h @ 1358:6b89eb92f872 fuzz

glaring wrapfd problems fixed
author Matt Johnston <matt@ucc.asn.au>
date Sat, 20 May 2017 22:47:19 +0800
parents 08f4fa4dc6a0
children ddfcadca3c4c
comparison
equal deleted inserted replaced
1357:08f4fa4dc6a0 1358:6b89eb92f872
21 #ifndef FUZZ_SKIP_WRAP 21 #ifndef FUZZ_SKIP_WRAP
22 #define select(nfds, readfds, writefds, exceptfds, timeout) \ 22 #define select(nfds, readfds, writefds, exceptfds, timeout) \
23 wrapfd_select(nfds, readfds, writefds, exceptfds, timeout) 23 wrapfd_select(nfds, readfds, writefds, exceptfds, timeout)
24 #define write(fd, buf, count) wrapfd_write(fd, buf, count) 24 #define write(fd, buf, count) wrapfd_write(fd, buf, count)
25 #define read(fd, buf, count) wrapfd_read(fd, buf, count) 25 #define read(fd, buf, count) wrapfd_read(fd, buf, count)
26 #define close(fd) wrapfd_close(fd)
26 #endif // FUZZ_SKIP_WRAP 27 #endif // FUZZ_SKIP_WRAP
27 28
28 struct dropbear_fuzz_options { 29 struct dropbear_fuzz_options {
29 int fuzzing; 30 int fuzzing;
30 31