summaryrefslogtreecommitdiffhomepage
path: root/fuzz.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-05-26 22:10:51 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-05-26 22:10:51 +0800
commit4d07aa315b8e019a3795da9a290ca4d71d7f87c2 (patch)
tree6ddc590f0eb3e5664003ec6fc583bdfd70690932 /fuzz.h
parent2e298b25e43199162e1209616acf0485f0f94974 (diff)
Disable setnonblocking(), get_socket_address(), set_sock_priority()
for fuzzing --HG-- branch : fuzz
Diffstat (limited to 'fuzz.h')
-rw-r--r--fuzz.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzz.h b/fuzz.h
index ae1a3dc..9234440 100644
--- a/fuzz.h
+++ b/fuzz.h
@@ -24,6 +24,8 @@ int fuzz_checkpubkey_line(buffer* line, int line_num, char* filename,
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