Added a Python script to find all FreeBSD system calls not yet implemented in syzlang under syzkaller/sys/freebsd.
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I added functions to find missing ioctl calls. The output has become significantly larger and kind of ugly. I wonder if it's a good idea to let user choose which part they want printed out (normal syscalls vs ioctl.
Comment Actions
I wonder if it's a good idea to let user choose which part they want printed out (normal syscalls vs ioctl.
Seems reasonable to me - add cmdline args to allow printing one, other, or both
Comment Actions
Cleaned up the code/design to make the tool easier to use.
[tig@tiger ~/go/src/github.com/google/syzkaller/tools]$ ./check-missing-freebsd-syscalls.py -h usage: freebsd_missing_syscall_checker [-h] [-s] [-i] -p PATH Prints missing FreeBSD syscalls. optional arguments: -h, --help show this help message and exit -s, --syscall Print missing syscalls. -i, --ioctl Print missing ioctls. -p PATH, --path PATH Path of FreeBSD src checkout.