From 74d5594c03d2f8445816b9980cd98f67e761d531 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 12 Jan 2024 17:52:50 +0100 Subject: syz-fuzzer: add a logging RPC call Add an RPC call to post a log message to syz-manager directly from syz-fuzzer. It's very convenient during the debugging and profiling of the actual fuzzing code. --- pkg/rpctype/rpctype.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg') diff --git a/pkg/rpctype/rpctype.go b/pkg/rpctype/rpctype.go index fc582e576..3b1244662 100644 --- a/pkg/rpctype/rpctype.go +++ b/pkg/rpctype/rpctype.go @@ -200,3 +200,9 @@ type RunTestDoneArgs struct { Info []*ipc.ProgInfo Error string } + +type LogMessageReq struct { + Level int + Name string + Message string +} -- cgit mrf-deployment