On Thu, Nov 2, 2023 at 10:25 AM kabuto hokage <
snakek...@gmail.com> wrote:
>
> Thanks I got it to work. I also wanted to ask, how do I go about increasing the coverage? I don't know much about device drivers, but I can imagine that some of the driver code might rely on other syscalls to be added.
> How do I find those syscalls?
I think there's no 100% working recipe. Reading kernel documentation /
>
> best regards
>
> On Tuesday, October 31, 2023 at 6:00:27 PM UTC+1
nog...@google.com wrote:
>>
>> Hi,
>>
>> syz_open_dev$I2C(dev ptr[in, string["/dev/i2c-#"]], id intptr, flags flags[open_flags]) fd_i2c
>>
>> syzkaller expects one of /dev/i2c- devices to be present on your VMs, otherwise it disables all related syscalls.
>> It should have printed a log message about this.
>>
>> --
>> Aleksandr
>>
>>
>> On Tue, Oct 31, 2023 at 2:25 PM kabuto hokage <
snakek...@gmail.com> wrote:
>>>
>>> Hey,
>>> Im new to syzkaller and I want to start fuzzing drivers. For example if I wanted to target the following driver,
https://github.com/google/syzkaller/blob/master/sys/linux/dev_i2c.txt how do I go about finding the syscalls needed to get coverage of the driver code? When I insert the syscalls from the above mentioned txt file, syzkaller will complain about not having any syscalls to execute.
>>>
>>> best regards
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "syzkaller" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to
syzkaller+...@googlegroups.com.
>>> To view this discussion on the web visit
https://groups.google.com/d/msgid/syzkaller/a4e76581-2904-4c01-9585-21f689aca07dn%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
syzkaller+...@googlegroups.com.