summaryrefslogtreecommitdiffhomepage
path: root/fuzz.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2021-01-29 21:47:56 +0800
committerMatt Johnston <matt@ucc.asn.au>2021-01-29 21:47:56 +0800
commite8640bdca3caab1d7249291993e418f88247fdd2 (patch)
tree23d3f6ebbda7aa6c53a607104e53bd49cfacee6d /fuzz.h
parent49177312fb96b32cd0ee70302eeffc520a051b32 (diff)
fuzz: wrap kill()
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 6525e40..4b89e2b 100644
--- a/fuzz.h
+++ b/fuzz.h
@@ -59,6 +59,7 @@ void fuzz_dump(const unsigned char* data, size_t len);
#define write(fd, buf, count) wrapfd_write(fd, buf, count)
#define read(fd, buf, count) wrapfd_read(fd, buf, count)
#define close(fd) wrapfd_close(fd)
+#define kill(pid, sig) fuzz_kill(pid, sig)
#endif // FUZZ_SKIP_WRAP
struct dropbear_fuzz_options {