diff fuzz.h @ 1740:dfbe947bdf0d fuzz

Make wrapfd share a common buffer for all FDs
author Matt Johnston <matt@ucc.asn.au>
date Thu, 15 Oct 2020 22:46:24 +0800
parents 35af85194268
children d1b279aa5ed1
line wrap: on
line diff
--- a/fuzz.h	Thu Oct 15 19:55:15 2020 +0800
+++ b/fuzz.h	Thu Oct 15 22:46:24 2020 +0800
@@ -31,6 +31,7 @@
 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