github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/pkg/flatrpc/helpers.go (about) 1 // Copyright 2024 syzkaller project authors. All rights reserved. 2 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 package flatrpc 5 6 const AllFeatures = ^Feature(0) 7 8 // Flatbuffers compiler adds T suffix to object API types, which are actual structs representing types. 9 // This leads to non-idiomatic Go code, e.g. we would have to use []FileInfoT in Go code. 10 // So we use Raw suffix for all flatbuffers tables and rename object API types here to idiomatic names. 11 type ConnectRequest = ConnectRequestRawT 12 type ConnectReply = ConnectReplyRawT 13 type InfoRequest = InfoRequestRawT 14 type InfoReply = InfoReplyRawT 15 type FileInfo = FileInfoRawT 16 type GlobInfo = GlobInfoRawT 17 type FeatureInfo = FeatureInfoRawT 18 type HostMessages = HostMessagesRawT 19 type HostMessage = HostMessageRawT 20 type ExecutorMessages = ExecutorMessagesRawT 21 type ExecutorMessage = ExecutorMessageRawT 22 type ExecRequest = ExecRequestRawT 23 type SignalUpdate = SignalUpdateRawT 24 type ExecutingMessage = ExecutingMessageRawT 25 type CallInfo = CallInfoRawT 26 type Comparison = ComparisonRawT 27 type ProgInfo = ProgInfoRawT 28 type ExecResult = ExecResultRawT