Mercurial > dropbear
comparison fuzz.h @ 1791:685b47d8faf7
fuzz: wrap kill()
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 29 Jan 2021 21:47:56 +0800 |
parents | a3b39df57c8b |
children | 8dc43b30c6bf |
comparison
equal
deleted
inserted
replaced
1790:42745af83b7d | 1791:685b47d8faf7 |
---|---|
57 #define select(nfds, readfds, writefds, exceptfds, timeout) \ | 57 #define select(nfds, readfds, writefds, exceptfds, timeout) \ |
58 wrapfd_select(nfds, readfds, writefds, exceptfds, timeout) | 58 wrapfd_select(nfds, readfds, writefds, exceptfds, timeout) |
59 #define write(fd, buf, count) wrapfd_write(fd, buf, count) | 59 #define write(fd, buf, count) wrapfd_write(fd, buf, count) |
60 #define read(fd, buf, count) wrapfd_read(fd, buf, count) | 60 #define read(fd, buf, count) wrapfd_read(fd, buf, count) |
61 #define close(fd) wrapfd_close(fd) | 61 #define close(fd) wrapfd_close(fd) |
62 #define kill(pid, sig) fuzz_kill(pid, sig) | |
62 #endif // FUZZ_SKIP_WRAP | 63 #endif // FUZZ_SKIP_WRAP |
63 | 64 |
64 struct dropbear_fuzz_options { | 65 struct dropbear_fuzz_options { |
65 int fuzzing; | 66 int fuzzing; |
66 | 67 |