fuzz: wrap kill()

This commit is contained in:
Matt Johnston
2021-01-29 21:47:56 +08:00
parent 49177312fb
commit e8640bdca3
4 changed files with 19 additions and 0 deletions

1
fuzz.h
View File

@@ -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 {