Hello Syzkaller community,
I'm a student currently directing Syzkaller's fuzzing towards the BTRFS filesystem. After enabling the necessary kernel configurations and limiting the syscalls, I noticed low coverage in some BTRFS code files. To improve this, I'm considering adding pseudo syscalls in common_linux.h (similar to syz_mount_image) that hit some unfuzzed functions.
However, I'm encountering an issue where the pseudo syscalls I add are not executed at all. I've followed the Syzkaller guide for adding new pseudo syscalls, but it seems ineffective:
Despite these steps, there is still no coverage. Currently, I have only three other syscalls enabled to maintain a minimal environment and ensure that the new pseudo syscalls are not transitively disabled.
Could I be missing something in this setup? Any advice or suggestions would be greatly appreciated.