Mercurial > dropbear
diff fuzz.h @ 1383:f03cfe9c76ac fuzz
Disable setnonblocking(), get_socket_address(), set_sock_priority()
for fuzzing
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 26 May 2017 22:10:51 +0800 |
parents | d4cc85e6c569 |
children | 6c92e97553f1 |
line wrap: on
line diff
--- a/fuzz.h Fri May 26 22:09:30 2017 +0800 +++ b/fuzz.h Fri May 26 22:10:51 2017 +0800 @@ -24,6 +24,8 @@ const unsigned char* keyblob, unsigned int keybloblen); extern const char * const * fuzz_signkey_names; void fuzz_seed(void); +void fuzz_get_socket_address(int fd, char **local_host, char **local_port, + char **remote_host, char **remote_port, int host_lookup); // fake IO wrappers #ifndef FUZZ_SKIP_WRAP