summaryrefslogtreecommitdiffhomepage
path: root/fuzz.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-10-15 22:46:24 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-10-15 22:46:24 +0800
commitcc1b07dcf170890c34c43f247334dbc78d6f8647 (patch)
tree286b81aacc40b71d53c902804e65803f556f8427 /fuzz.h
parent0e3e8db5bfca0c579be55e7580a46c593c1384be (diff)
Make wrapfd share a common buffer for all FDs
--HG-- branch : fuzz
Diffstat (limited to 'fuzz.h')
-rw-r--r--fuzz.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz.h b/fuzz.h
index dab6c37..cc98ed2 100644
--- a/fuzz.h
+++ b/fuzz.h
@@ -31,6 +31,7 @@ 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);
void fuzz_fake_send_kexdh_reply(void);
+int fuzz_spawn_command(int *ret_writefd, int *ret_readfd, int *ret_errfd, pid_t *ret_pid);
// fake IO wrappers
#ifndef FUZZ_SKIP_WRAP