Assistance Needed: Viewing log.Logf Outputs of syz-fuzzer

42 views
Skip to first unread message

waterlight m

unread,
Jan 15, 2024, 4:34:18 AM1/15/24
to syzkaller
Hi,community!

I am currently debugging syz-fuzzer and using the hostfuzzer mode.
I have noticed that when using log.Logf to print information, there is no output in the terminal.
Could you please advise where I should look for these log entries, and whether they are only visible when syz-manager is in debug mode? 

Any information would be greatly appreciated!  Thank you for your assistance!


Dmitry Vyukov

unread,
Jan 15, 2024, 4:50:53 AM1/15/24
to waterlight m, syzkaller
Hi waterlight,

The fuzzer output is only visible in debug mode and in crash logs.
Note there can be a hundred fuzzers connected to a single manager.

Aleksandr Nogikh

unread,
Jan 15, 2024, 4:58:24 AM1/15/24
to Dmitry Vyukov, waterlight m, syzkaller
In case it might help:

When I need to debug something in syz-fuzzer, I sometimes add an extra
rpc call to log directly to the syz-manager. Something like this:
https://github.com/a-nogikh/syzkaller/commit/f19d11db1a7d2516efdc864b19ecf8be822312cc
> --
> 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/CACT4Y%2Bax2HW3nMQPHdkt_nO-7H5hrmOrDP96-DaV2JhXU9sdjA%40mail.gmail.com.

waterlight m

unread,
Jan 15, 2024, 7:33:19 AM1/15/24
to syzkaller
Thank you both for the swift help! Your guidance is greatly appreciated.
Reply all
Reply to author
Forward
0 new messages