flatrpc

package
v0.0.0-...-b4fbdbd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const AllFeatures = ^Feature(0)

Variables

View Source
var EnumNamesCallFlag = map[CallFlag]string{
	CallFlagExecuted:         "Executed",
	CallFlagFinished:         "Finished",
	CallFlagBlocked:          "Blocked",
	CallFlagFaultInjected:    "FaultInjected",
	CallFlagCoverageOverflow: "CoverageOverflow",
}
View Source
var EnumNamesConst = map[Const]string{
	ConstSnapshotDoorbellSize: "SnapshotDoorbellSize",
	ConstMaxInputSize:         "MaxInputSize",
	ConstMaxOutputSize:        "MaxOutputSize",
	ConstSnapshotShmemSize:    "SnapshotShmemSize",
}
View Source
var EnumNamesExecEnv = map[ExecEnv]string{
	ExecEnvDebug:               "Debug",
	ExecEnvSignal:              "Signal",
	ExecEnvResetState:          "ResetState",
	ExecEnvSandboxNone:         "SandboxNone",
	ExecEnvSandboxSetuid:       "SandboxSetuid",
	ExecEnvSandboxNamespace:    "SandboxNamespace",
	ExecEnvSandboxAndroid:      "SandboxAndroid",
	ExecEnvExtraCover:          "ExtraCover",
	ExecEnvEnableTun:           "EnableTun",
	ExecEnvEnableNetDev:        "EnableNetDev",
	ExecEnvEnableNetReset:      "EnableNetReset",
	ExecEnvEnableCgroups:       "EnableCgroups",
	ExecEnvEnableCloseFds:      "EnableCloseFds",
	ExecEnvEnableDevlinkPCI:    "EnableDevlinkPCI",
	ExecEnvEnableVhciInjection: "EnableVhciInjection",
	ExecEnvEnableWifi:          "EnableWifi",
	ExecEnvDelayKcovMmap:       "DelayKcovMmap",
	ExecEnvEnableNicVF:         "EnableNicVF",
}
View Source
var EnumNamesExecFlag = map[ExecFlag]string{
	ExecFlagCollectSignal: "CollectSignal",
	ExecFlagCollectCover:  "CollectCover",
	ExecFlagDedupCover:    "DedupCover",
	ExecFlagCollectComps:  "CollectComps",
	ExecFlagThreaded:      "Threaded",
}
View Source
var EnumNamesExecutorMessagesRaw = map[ExecutorMessagesRaw]string{
	ExecutorMessagesRawNONE:       "NONE",
	ExecutorMessagesRawExecResult: "ExecResult",
	ExecutorMessagesRawExecuting:  "Executing",
	ExecutorMessagesRawState:      "State",
}
View Source
var EnumNamesFeature = map[Feature]string{
	FeatureCoverage:         "Coverage",
	FeatureComparisons:      "Comparisons",
	FeatureExtraCoverage:    "ExtraCoverage",
	FeatureDelayKcovMmap:    "DelayKcovMmap",
	FeatureSandboxNone:      "SandboxNone",
	FeatureSandboxSetuid:    "SandboxSetuid",
	FeatureSandboxNamespace: "SandboxNamespace",
	FeatureSandboxAndroid:   "SandboxAndroid",
	FeatureFault:            "Fault",
	FeatureLeak:             "Leak",
	FeatureNetInjection:     "NetInjection",
	FeatureNetDevices:       "NetDevices",
	FeatureKCSAN:            "KCSAN",
	FeatureDevlinkPCI:       "DevlinkPCI",
	FeatureNicVF:            "NicVF",
	FeatureUSBEmulation:     "USBEmulation",
	FeatureVhciInjection:    "VhciInjection",
	FeatureWifiEmulation:    "WifiEmulation",
	FeatureLRWPANEmulation:  "LRWPANEmulation",
	FeatureBinFmtMisc:       "BinFmtMisc",
	FeatureSwap:             "Swap",
}
View Source
var EnumNamesHostMessagesRaw = map[HostMessagesRaw]string{
	HostMessagesRawNONE:          "NONE",
	HostMessagesRawExecRequest:   "ExecRequest",
	HostMessagesRawSignalUpdate:  "SignalUpdate",
	HostMessagesRawCorpusTriaged: "CorpusTriaged",
	HostMessagesRawStateRequest:  "StateRequest",
}
View Source
var EnumNamesRequestFlag = map[RequestFlag]string{
	RequestFlagReturnOutput: "ReturnOutput",
	RequestFlagReturnError:  "ReturnError",
}
View Source
var EnumNamesRequestType = map[RequestType]string{
	RequestTypeProgram: "Program",
	RequestTypeBinary:  "Binary",
	RequestTypeGlob:    "Glob",
}
View Source
var EnumNamesSnapshotState = map[SnapshotState]string{
	SnapshotStateInitial:     "Initial",
	SnapshotStateHandshake:   "Handshake",
	SnapshotStateReady:       "Ready",
	SnapshotStateSnapshotted: "Snapshotted",
	SnapshotStateExecute:     "Execute",
	SnapshotStateExecuted:    "Executed",
	SnapshotStateFailed:      "Failed",
}
View Source
var EnumValuesCallFlag = map[string]CallFlag{
	"Executed":         CallFlagExecuted,
	"Finished":         CallFlagFinished,
	"Blocked":          CallFlagBlocked,
	"FaultInjected":    CallFlagFaultInjected,
	"CoverageOverflow": CallFlagCoverageOverflow,
}
View Source
var EnumValuesConst = map[string]Const{
	"SnapshotDoorbellSize": ConstSnapshotDoorbellSize,
	"MaxInputSize":         ConstMaxInputSize,
	"MaxOutputSize":        ConstMaxOutputSize,
	"SnapshotShmemSize":    ConstSnapshotShmemSize,
}
View Source
var EnumValuesExecEnv = map[string]ExecEnv{
	"Debug":               ExecEnvDebug,
	"Signal":              ExecEnvSignal,
	"ResetState":          ExecEnvResetState,
	"SandboxNone":         ExecEnvSandboxNone,
	"SandboxSetuid":       ExecEnvSandboxSetuid,
	"SandboxNamespace":    ExecEnvSandboxNamespace,
	"SandboxAndroid":      ExecEnvSandboxAndroid,
	"ExtraCover":          ExecEnvExtraCover,
	"EnableTun":           ExecEnvEnableTun,
	"EnableNetDev":        ExecEnvEnableNetDev,
	"EnableNetReset":      ExecEnvEnableNetReset,
	"EnableCgroups":       ExecEnvEnableCgroups,
	"EnableCloseFds":      ExecEnvEnableCloseFds,
	"EnableDevlinkPCI":    ExecEnvEnableDevlinkPCI,
	"EnableVhciInjection": ExecEnvEnableVhciInjection,
	"EnableWifi":          ExecEnvEnableWifi,
	"DelayKcovMmap":       ExecEnvDelayKcovMmap,
	"EnableNicVF":         ExecEnvEnableNicVF,
}
View Source
var EnumValuesExecFlag = map[string]ExecFlag{
	"CollectSignal": ExecFlagCollectSignal,
	"CollectCover":  ExecFlagCollectCover,
	"DedupCover":    ExecFlagDedupCover,
	"CollectComps":  ExecFlagCollectComps,
	"Threaded":      ExecFlagThreaded,
}
View Source
var EnumValuesExecutorMessagesRaw = map[string]ExecutorMessagesRaw{
	"NONE":       ExecutorMessagesRawNONE,
	"ExecResult": ExecutorMessagesRawExecResult,
	"Executing":  ExecutorMessagesRawExecuting,
	"State":      ExecutorMessagesRawState,
}
View Source
var EnumValuesFeature = map[string]Feature{
	"Coverage":         FeatureCoverage,
	"Comparisons":      FeatureComparisons,
	"ExtraCoverage":    FeatureExtraCoverage,
	"DelayKcovMmap":    FeatureDelayKcovMmap,
	"SandboxNone":      FeatureSandboxNone,
	"SandboxSetuid":    FeatureSandboxSetuid,
	"SandboxNamespace": FeatureSandboxNamespace,
	"SandboxAndroid":   FeatureSandboxAndroid,
	"Fault":            FeatureFault,
	"Leak":             FeatureLeak,
	"NetInjection":     FeatureNetInjection,
	"NetDevices":       FeatureNetDevices,
	"KCSAN":            FeatureKCSAN,
	"DevlinkPCI":       FeatureDevlinkPCI,
	"NicVF":            FeatureNicVF,
	"USBEmulation":     FeatureUSBEmulation,
	"VhciInjection":    FeatureVhciInjection,
	"WifiEmulation":    FeatureWifiEmulation,
	"LRWPANEmulation":  FeatureLRWPANEmulation,
	"BinFmtMisc":       FeatureBinFmtMisc,
	"Swap":             FeatureSwap,
}
View Source
var EnumValuesHostMessagesRaw = map[string]HostMessagesRaw{
	"NONE":          HostMessagesRawNONE,
	"ExecRequest":   HostMessagesRawExecRequest,
	"SignalUpdate":  HostMessagesRawSignalUpdate,
	"CorpusTriaged": HostMessagesRawCorpusTriaged,
	"StateRequest":  HostMessagesRawStateRequest,
}
View Source
var EnumValuesRequestFlag = map[string]RequestFlag{
	"ReturnOutput": RequestFlagReturnOutput,
	"ReturnError":  RequestFlagReturnError,
}
View Source
var EnumValuesRequestType = map[string]RequestType{
	"Program": RequestTypeProgram,
	"Binary":  RequestTypeBinary,
	"Glob":    RequestTypeGlob,
}
View Source
var EnumValuesSnapshotState = map[string]SnapshotState{
	"Initial":     SnapshotStateInitial,
	"Handshake":   SnapshotStateHandshake,
	"Ready":       SnapshotStateReady,
	"Snapshotted": SnapshotStateSnapshotted,
	"Execute":     SnapshotStateExecute,
	"Executed":    SnapshotStateExecuted,
	"Failed":      SnapshotStateFailed,
}

Functions

func CallInfoRawAddComps

func CallInfoRawAddComps(builder *flatbuffers.Builder, comps flatbuffers.UOffsetT)

func CallInfoRawAddCover

func CallInfoRawAddCover(builder *flatbuffers.Builder, cover flatbuffers.UOffsetT)

func CallInfoRawAddError

func CallInfoRawAddError(builder *flatbuffers.Builder, error int32)

func CallInfoRawAddFlags

func CallInfoRawAddFlags(builder *flatbuffers.Builder, flags CallFlag)

func CallInfoRawAddSignal

func CallInfoRawAddSignal(builder *flatbuffers.Builder, signal flatbuffers.UOffsetT)

func CallInfoRawEnd

func CallInfoRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func CallInfoRawStart

func CallInfoRawStart(builder *flatbuffers.Builder)

func CallInfoRawStartCompsVector

func CallInfoRawStartCompsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func CallInfoRawStartCoverVector

func CallInfoRawStartCoverVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func CallInfoRawStartSignalVector

func CallInfoRawStartSignalVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ConnectReplyRawAddCover

func ConnectReplyRawAddCover(builder *flatbuffers.Builder, cover bool)

func ConnectReplyRawAddCoverEdges

func ConnectReplyRawAddCoverEdges(builder *flatbuffers.Builder, coverEdges bool)

func ConnectReplyRawAddDebug

func ConnectReplyRawAddDebug(builder *flatbuffers.Builder, debug bool)

func ConnectReplyRawAddFeatures

func ConnectReplyRawAddFeatures(builder *flatbuffers.Builder, features Feature)

func ConnectReplyRawAddFiles

func ConnectReplyRawAddFiles(builder *flatbuffers.Builder, files flatbuffers.UOffsetT)

func ConnectReplyRawAddKernel64Bit

func ConnectReplyRawAddKernel64Bit(builder *flatbuffers.Builder, kernel64Bit bool)

func ConnectReplyRawAddLeakFrames

func ConnectReplyRawAddLeakFrames(builder *flatbuffers.Builder, leakFrames flatbuffers.UOffsetT)

func ConnectReplyRawAddProcs

func ConnectReplyRawAddProcs(builder *flatbuffers.Builder, procs int32)

func ConnectReplyRawAddProgramTimeoutMs

func ConnectReplyRawAddProgramTimeoutMs(builder *flatbuffers.Builder, programTimeoutMs int32)

func ConnectReplyRawAddRaceFrames

func ConnectReplyRawAddRaceFrames(builder *flatbuffers.Builder, raceFrames flatbuffers.UOffsetT)

func ConnectReplyRawAddSlowdown

func ConnectReplyRawAddSlowdown(builder *flatbuffers.Builder, slowdown int32)

func ConnectReplyRawAddSyscallTimeoutMs

func ConnectReplyRawAddSyscallTimeoutMs(builder *flatbuffers.Builder, syscallTimeoutMs int32)

func ConnectReplyRawEnd

func ConnectReplyRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ConnectReplyRawStart

func ConnectReplyRawStart(builder *flatbuffers.Builder)

func ConnectReplyRawStartFilesVector

func ConnectReplyRawStartFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ConnectReplyRawStartLeakFramesVector

func ConnectReplyRawStartLeakFramesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ConnectReplyRawStartRaceFramesVector

func ConnectReplyRawStartRaceFramesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ConnectRequestRawAddArch

func ConnectRequestRawAddArch(builder *flatbuffers.Builder, arch flatbuffers.UOffsetT)

func ConnectRequestRawAddGitRevision

func ConnectRequestRawAddGitRevision(builder *flatbuffers.Builder, gitRevision flatbuffers.UOffsetT)

func ConnectRequestRawAddId

func ConnectRequestRawAddId(builder *flatbuffers.Builder, id int64)

func ConnectRequestRawAddSyzRevision

func ConnectRequestRawAddSyzRevision(builder *flatbuffers.Builder, syzRevision flatbuffers.UOffsetT)

func ConnectRequestRawEnd

func ConnectRequestRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ConnectRequestRawStart

func ConnectRequestRawStart(builder *flatbuffers.Builder)

func CorpusTriagedRawEnd

func CorpusTriagedRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func CorpusTriagedRawStart

func CorpusTriagedRawStart(builder *flatbuffers.Builder)

func CreateComparisonRaw

func CreateComparisonRaw(builder *flatbuffers.Builder, pc uint64, op1 uint64, op2 uint64, isConst bool) flatbuffers.UOffsetT

func CreateExecOptsRaw

func CreateExecOptsRaw(builder *flatbuffers.Builder, envFlags ExecEnv, execFlags ExecFlag, sandboxArg int64) flatbuffers.UOffsetT

func ExecRequestRawAddAllSignal

func ExecRequestRawAddAllSignal(builder *flatbuffers.Builder, allSignal flatbuffers.UOffsetT)

func ExecRequestRawAddAvoid

func ExecRequestRawAddAvoid(builder *flatbuffers.Builder, avoid uint64)

func ExecRequestRawAddData

func ExecRequestRawAddData(builder *flatbuffers.Builder, data flatbuffers.UOffsetT)

func ExecRequestRawAddExecOpts

func ExecRequestRawAddExecOpts(builder *flatbuffers.Builder, execOpts flatbuffers.UOffsetT)

func ExecRequestRawAddFlags

func ExecRequestRawAddFlags(builder *flatbuffers.Builder, flags RequestFlag)

func ExecRequestRawAddId

func ExecRequestRawAddId(builder *flatbuffers.Builder, id int64)

func ExecRequestRawAddType

func ExecRequestRawAddType(builder *flatbuffers.Builder, type_ RequestType)

func ExecRequestRawEnd

func ExecRequestRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ExecRequestRawStart

func ExecRequestRawStart(builder *flatbuffers.Builder)

func ExecRequestRawStartAllSignalVector

func ExecRequestRawStartAllSignalVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ExecRequestRawStartDataVector

func ExecRequestRawStartDataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ExecResultRawAddError

func ExecResultRawAddError(builder *flatbuffers.Builder, error flatbuffers.UOffsetT)

func ExecResultRawAddHanged

func ExecResultRawAddHanged(builder *flatbuffers.Builder, hanged bool)

func ExecResultRawAddId

func ExecResultRawAddId(builder *flatbuffers.Builder, id int64)

func ExecResultRawAddInfo

func ExecResultRawAddInfo(builder *flatbuffers.Builder, info flatbuffers.UOffsetT)

func ExecResultRawAddOutput

func ExecResultRawAddOutput(builder *flatbuffers.Builder, output flatbuffers.UOffsetT)

func ExecResultRawAddProc

func ExecResultRawAddProc(builder *flatbuffers.Builder, proc int32)

func ExecResultRawEnd

func ExecResultRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ExecResultRawStart

func ExecResultRawStart(builder *flatbuffers.Builder)

func ExecResultRawStartOutputVector

func ExecResultRawStartOutputVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ExecutingMessageRawAddId

func ExecutingMessageRawAddId(builder *flatbuffers.Builder, id int64)

func ExecutingMessageRawAddProcId

func ExecutingMessageRawAddProcId(builder *flatbuffers.Builder, procId int32)

func ExecutingMessageRawAddTry

func ExecutingMessageRawAddTry(builder *flatbuffers.Builder, try int32)

func ExecutingMessageRawAddWaitDuration

func ExecutingMessageRawAddWaitDuration(builder *flatbuffers.Builder, waitDuration int64)

func ExecutingMessageRawEnd

func ExecutingMessageRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ExecutingMessageRawStart

func ExecutingMessageRawStart(builder *flatbuffers.Builder)

func ExecutorMessageRawAddMsg

func ExecutorMessageRawAddMsg(builder *flatbuffers.Builder, msg flatbuffers.UOffsetT)

func ExecutorMessageRawAddMsgType

func ExecutorMessageRawAddMsgType(builder *flatbuffers.Builder, msgType ExecutorMessagesRaw)

func ExecutorMessageRawEnd

func ExecutorMessageRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ExecutorMessageRawStart

func ExecutorMessageRawStart(builder *flatbuffers.Builder)

func FeatureInfoRawAddId

func FeatureInfoRawAddId(builder *flatbuffers.Builder, id Feature)

func FeatureInfoRawAddNeedSetup

func FeatureInfoRawAddNeedSetup(builder *flatbuffers.Builder, needSetup bool)

func FeatureInfoRawAddReason

func FeatureInfoRawAddReason(builder *flatbuffers.Builder, reason flatbuffers.UOffsetT)

func FeatureInfoRawEnd

func FeatureInfoRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func FeatureInfoRawStart

func FeatureInfoRawStart(builder *flatbuffers.Builder)

func FileInfoRawAddData

func FileInfoRawAddData(builder *flatbuffers.Builder, data flatbuffers.UOffsetT)

func FileInfoRawAddError

func FileInfoRawAddError(builder *flatbuffers.Builder, error flatbuffers.UOffsetT)

func FileInfoRawAddExists

func FileInfoRawAddExists(builder *flatbuffers.Builder, exists bool)

func FileInfoRawAddName

func FileInfoRawAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)

func FileInfoRawEnd

func FileInfoRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func FileInfoRawStart

func FileInfoRawStart(builder *flatbuffers.Builder)

func FileInfoRawStartDataVector

func FileInfoRawStartDataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func FlagsToSandbox

func FlagsToSandbox(flags ExecEnv) string

func GlobInfoRawAddFiles

func GlobInfoRawAddFiles(builder *flatbuffers.Builder, files flatbuffers.UOffsetT)

func GlobInfoRawAddName

func GlobInfoRawAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)

func GlobInfoRawEnd

func GlobInfoRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func GlobInfoRawStart

func GlobInfoRawStart(builder *flatbuffers.Builder)

func GlobInfoRawStartFilesVector

func GlobInfoRawStartFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func HostMessageRawAddMsg

func HostMessageRawAddMsg(builder *flatbuffers.Builder, msg flatbuffers.UOffsetT)

func HostMessageRawAddMsgType

func HostMessageRawAddMsgType(builder *flatbuffers.Builder, msgType HostMessagesRaw)

func HostMessageRawEnd

func HostMessageRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func HostMessageRawStart

func HostMessageRawStart(builder *flatbuffers.Builder)

func InfoReplyRawAddCoverFilter

func InfoReplyRawAddCoverFilter(builder *flatbuffers.Builder, coverFilter flatbuffers.UOffsetT)

func InfoReplyRawEnd

func InfoReplyRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func InfoReplyRawStart

func InfoReplyRawStart(builder *flatbuffers.Builder)

func InfoReplyRawStartCoverFilterVector

func InfoReplyRawStartCoverFilterVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func InfoRequestRawAddError

func InfoRequestRawAddError(builder *flatbuffers.Builder, error flatbuffers.UOffsetT)

func InfoRequestRawAddFeatures

func InfoRequestRawAddFeatures(builder *flatbuffers.Builder, features flatbuffers.UOffsetT)

func InfoRequestRawAddFiles

func InfoRequestRawAddFiles(builder *flatbuffers.Builder, files flatbuffers.UOffsetT)

func InfoRequestRawEnd

func InfoRequestRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func InfoRequestRawStart

func InfoRequestRawStart(builder *flatbuffers.Builder)

func InfoRequestRawStartFeaturesVector

func InfoRequestRawStartFeaturesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func InfoRequestRawStartFilesVector

func InfoRequestRawStartFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func Parse

func Parse[Raw RecvType[T], T any](data []byte) (res *T, err0 error)

func ProgInfoRawAddCalls

func ProgInfoRawAddCalls(builder *flatbuffers.Builder, calls flatbuffers.UOffsetT)

func ProgInfoRawAddElapsed

func ProgInfoRawAddElapsed(builder *flatbuffers.Builder, elapsed uint64)

func ProgInfoRawAddExtra

func ProgInfoRawAddExtra(builder *flatbuffers.Builder, extra flatbuffers.UOffsetT)

func ProgInfoRawAddExtraRaw

func ProgInfoRawAddExtraRaw(builder *flatbuffers.Builder, extraRaw flatbuffers.UOffsetT)

func ProgInfoRawAddFreshness

func ProgInfoRawAddFreshness(builder *flatbuffers.Builder, freshness uint64)

func ProgInfoRawEnd

func ProgInfoRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func ProgInfoRawStart

func ProgInfoRawStart(builder *flatbuffers.Builder)

func ProgInfoRawStartCallsVector

func ProgInfoRawStartCallsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func ProgInfoRawStartExtraRawVector

func ProgInfoRawStartExtraRawVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func Recv

func Recv[Raw RecvType[T], T any](c *Conn) (res *T, err0 error)

Recv receives an RPC message. The type T is supposed to be a pointer to a normal flatbuffers type (not ending with T, e.g. *ConnectRequestRaw). Receiving should be done from a single goroutine, the received message is valid only until the next Recv call (messages share the same underlying receive buffer).

func Send

func Send[T sendMsg](c *Conn, msg T) error

Send sends an RPC message. The type T is supposed to be an "object API" type ending with T (e.g. ConnectRequestT). Sending can be done from multiple goroutines concurrently.

func SignalUpdateRawAddNewMax

func SignalUpdateRawAddNewMax(builder *flatbuffers.Builder, newMax flatbuffers.UOffsetT)

func SignalUpdateRawEnd

func SignalUpdateRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func SignalUpdateRawStart

func SignalUpdateRawStart(builder *flatbuffers.Builder)

func SignalUpdateRawStartNewMaxVector

func SignalUpdateRawStartNewMaxVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func SnapshotHandshakeAddCoverEdges

func SnapshotHandshakeAddCoverEdges(builder *flatbuffers.Builder, coverEdges bool)

func SnapshotHandshakeAddEnvFlags

func SnapshotHandshakeAddEnvFlags(builder *flatbuffers.Builder, envFlags ExecEnv)

func SnapshotHandshakeAddFeatures

func SnapshotHandshakeAddFeatures(builder *flatbuffers.Builder, features Feature)

func SnapshotHandshakeAddKernel64Bit

func SnapshotHandshakeAddKernel64Bit(builder *flatbuffers.Builder, kernel64Bit bool)

func SnapshotHandshakeAddProgramTimeoutMs

func SnapshotHandshakeAddProgramTimeoutMs(builder *flatbuffers.Builder, programTimeoutMs int32)

func SnapshotHandshakeAddSandboxArg

func SnapshotHandshakeAddSandboxArg(builder *flatbuffers.Builder, sandboxArg int64)

func SnapshotHandshakeAddSlowdown

func SnapshotHandshakeAddSlowdown(builder *flatbuffers.Builder, slowdown int32)

func SnapshotHandshakeAddSyscallTimeoutMs

func SnapshotHandshakeAddSyscallTimeoutMs(builder *flatbuffers.Builder, syscallTimeoutMs int32)

func SnapshotHandshakeEnd

func SnapshotHandshakeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func SnapshotHandshakeStart

func SnapshotHandshakeStart(builder *flatbuffers.Builder)

func SnapshotHeaderAddOutputOffset

func SnapshotHeaderAddOutputOffset(builder *flatbuffers.Builder, outputOffset uint32)

func SnapshotHeaderAddOutputSize

func SnapshotHeaderAddOutputSize(builder *flatbuffers.Builder, outputSize uint32)

func SnapshotHeaderAddState

func SnapshotHeaderAddState(builder *flatbuffers.Builder, state SnapshotState)

func SnapshotHeaderEnd

func SnapshotHeaderEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func SnapshotHeaderStart

func SnapshotHeaderStart(builder *flatbuffers.Builder)

func SnapshotRequestAddAllCallSignal

func SnapshotRequestAddAllCallSignal(builder *flatbuffers.Builder, allCallSignal uint64)

func SnapshotRequestAddAllExtraSignal

func SnapshotRequestAddAllExtraSignal(builder *flatbuffers.Builder, allExtraSignal bool)

func SnapshotRequestAddExecFlags

func SnapshotRequestAddExecFlags(builder *flatbuffers.Builder, execFlags ExecFlag)

func SnapshotRequestAddNumCalls

func SnapshotRequestAddNumCalls(builder *flatbuffers.Builder, numCalls int32)

func SnapshotRequestAddProgData

func SnapshotRequestAddProgData(builder *flatbuffers.Builder, progData flatbuffers.UOffsetT)

func SnapshotRequestEnd

func SnapshotRequestEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func SnapshotRequestStart

func SnapshotRequestStart(builder *flatbuffers.Builder)

func SnapshotRequestStartProgDataVector

func SnapshotRequestStartProgDataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func StateRequestRawEnd

func StateRequestRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func StateRequestRawStart

func StateRequestRawStart(builder *flatbuffers.Builder)

func StateResultRawAddData

func StateResultRawAddData(builder *flatbuffers.Builder, data flatbuffers.UOffsetT)

func StateResultRawEnd

func StateResultRawEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func StateResultRawStart

func StateResultRawStart(builder *flatbuffers.Builder)

func StateResultRawStartDataVector

func StateResultRawStartDataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

Types

type CallFlag

type CallFlag byte
const (
	CallFlagExecuted         CallFlag = 1
	CallFlagFinished         CallFlag = 2
	CallFlagBlocked          CallFlag = 4
	CallFlagFaultInjected    CallFlag = 8
	CallFlagCoverageOverflow CallFlag = 16
)

func (CallFlag) String

func (v CallFlag) String() string

type CallInfo

type CallInfo = CallInfoRawT

type CallInfoRaw

type CallInfoRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsCallInfoRaw

func GetRootAsCallInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *CallInfoRaw

func GetSizePrefixedRootAsCallInfoRaw

func GetSizePrefixedRootAsCallInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *CallInfoRaw

func (*CallInfoRaw) Comps

func (rcv *CallInfoRaw) Comps(obj *ComparisonRaw, j int) bool

func (*CallInfoRaw) CompsLength

func (rcv *CallInfoRaw) CompsLength() int

func (*CallInfoRaw) Cover

func (rcv *CallInfoRaw) Cover(j int) uint64

func (*CallInfoRaw) CoverLength

func (rcv *CallInfoRaw) CoverLength() int

func (*CallInfoRaw) Error

func (rcv *CallInfoRaw) Error() int32

func (*CallInfoRaw) Flags

func (rcv *CallInfoRaw) Flags() CallFlag

func (*CallInfoRaw) Init

func (rcv *CallInfoRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*CallInfoRaw) MutateCover

func (rcv *CallInfoRaw) MutateCover(j int, n uint64) bool

func (*CallInfoRaw) MutateError

func (rcv *CallInfoRaw) MutateError(n int32) bool

func (*CallInfoRaw) MutateFlags

func (rcv *CallInfoRaw) MutateFlags(n CallFlag) bool

func (*CallInfoRaw) MutateSignal

func (rcv *CallInfoRaw) MutateSignal(j int, n uint64) bool

func (*CallInfoRaw) Signal

func (rcv *CallInfoRaw) Signal(j int) uint64

func (*CallInfoRaw) SignalLength

func (rcv *CallInfoRaw) SignalLength() int

func (*CallInfoRaw) Table

func (rcv *CallInfoRaw) Table() flatbuffers.Table

func (*CallInfoRaw) UnPack

func (rcv *CallInfoRaw) UnPack() *CallInfoRawT

func (*CallInfoRaw) UnPackTo

func (rcv *CallInfoRaw) UnPackTo(t *CallInfoRawT)

type CallInfoRawT

type CallInfoRawT struct {
	Flags  CallFlag          `json:"flags"`
	Error  int32             `json:"error"`
	Signal []uint64          `json:"signal"`
	Cover  []uint64          `json:"cover"`
	Comps  []*ComparisonRawT `json:"comps"`
}

func (*CallInfoRawT) Pack

type Comparison

type Comparison = ComparisonRawT

type ComparisonRaw

type ComparisonRaw struct {
	// contains filtered or unexported fields
}

func (*ComparisonRaw) Init

func (rcv *ComparisonRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ComparisonRaw) IsConst

func (rcv *ComparisonRaw) IsConst() bool

func (*ComparisonRaw) MutateIsConst

func (rcv *ComparisonRaw) MutateIsConst(n bool) bool

func (*ComparisonRaw) MutateOp1

func (rcv *ComparisonRaw) MutateOp1(n uint64) bool

func (*ComparisonRaw) MutateOp2

func (rcv *ComparisonRaw) MutateOp2(n uint64) bool

func (*ComparisonRaw) MutatePc

func (rcv *ComparisonRaw) MutatePc(n uint64) bool

func (*ComparisonRaw) Op1

func (rcv *ComparisonRaw) Op1() uint64

func (*ComparisonRaw) Op2

func (rcv *ComparisonRaw) Op2() uint64

func (*ComparisonRaw) Pc

func (rcv *ComparisonRaw) Pc() uint64

func (*ComparisonRaw) Table

func (rcv *ComparisonRaw) Table() flatbuffers.Table

func (*ComparisonRaw) UnPack

func (rcv *ComparisonRaw) UnPack() *ComparisonRawT

func (*ComparisonRaw) UnPackTo

func (rcv *ComparisonRaw) UnPackTo(t *ComparisonRawT)

type ComparisonRawT

type ComparisonRawT struct {
	Pc      uint64 `json:"pc"`
	Op1     uint64 `json:"op1"`
	Op2     uint64 `json:"op2"`
	IsConst bool   `json:"is_const"`
}

func (*ComparisonRawT) Pack

type Conn

type Conn struct {
	// contains filtered or unexported fields
}

func NewConn

func NewConn(conn net.Conn) *Conn

func (*Conn) Close

func (c *Conn) Close() error

type ConnectReply

type ConnectReply = ConnectReplyRawT

type ConnectReplyRaw

type ConnectReplyRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsConnectReplyRaw

func GetRootAsConnectReplyRaw(buf []byte, offset flatbuffers.UOffsetT) *ConnectReplyRaw

func GetSizePrefixedRootAsConnectReplyRaw

func GetSizePrefixedRootAsConnectReplyRaw(buf []byte, offset flatbuffers.UOffsetT) *ConnectReplyRaw

func (*ConnectReplyRaw) Cover

func (rcv *ConnectReplyRaw) Cover() bool

func (*ConnectReplyRaw) CoverEdges

func (rcv *ConnectReplyRaw) CoverEdges() bool

func (*ConnectReplyRaw) Debug

func (rcv *ConnectReplyRaw) Debug() bool

func (*ConnectReplyRaw) Features

func (rcv *ConnectReplyRaw) Features() Feature

func (*ConnectReplyRaw) Files

func (rcv *ConnectReplyRaw) Files(j int) []byte

func (*ConnectReplyRaw) FilesLength

func (rcv *ConnectReplyRaw) FilesLength() int

func (*ConnectReplyRaw) Init

func (rcv *ConnectReplyRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ConnectReplyRaw) Kernel64Bit

func (rcv *ConnectReplyRaw) Kernel64Bit() bool

func (*ConnectReplyRaw) LeakFrames

func (rcv *ConnectReplyRaw) LeakFrames(j int) []byte

func (*ConnectReplyRaw) LeakFramesLength

func (rcv *ConnectReplyRaw) LeakFramesLength() int

func (*ConnectReplyRaw) MutateCover

func (rcv *ConnectReplyRaw) MutateCover(n bool) bool

func (*ConnectReplyRaw) MutateCoverEdges

func (rcv *ConnectReplyRaw) MutateCoverEdges(n bool) bool

func (*ConnectReplyRaw) MutateDebug

func (rcv *ConnectReplyRaw) MutateDebug(n bool) bool

func (*ConnectReplyRaw) MutateFeatures

func (rcv *ConnectReplyRaw) MutateFeatures(n Feature) bool

func (*ConnectReplyRaw) MutateKernel64Bit

func (rcv *ConnectReplyRaw) MutateKernel64Bit(n bool) bool

func (*ConnectReplyRaw) MutateProcs

func (rcv *ConnectReplyRaw) MutateProcs(n int32) bool

func (*ConnectReplyRaw) MutateProgramTimeoutMs

func (rcv *ConnectReplyRaw) MutateProgramTimeoutMs(n int32) bool

func (*ConnectReplyRaw) MutateSlowdown

func (rcv *ConnectReplyRaw) MutateSlowdown(n int32) bool

func (*ConnectReplyRaw) MutateSyscallTimeoutMs

func (rcv *ConnectReplyRaw) MutateSyscallTimeoutMs(n int32) bool

func (*ConnectReplyRaw) Procs

func (rcv *ConnectReplyRaw) Procs() int32

func (*ConnectReplyRaw) ProgramTimeoutMs

func (rcv *ConnectReplyRaw) ProgramTimeoutMs() int32

func (*ConnectReplyRaw) RaceFrames

func (rcv *ConnectReplyRaw) RaceFrames(j int) []byte

func (*ConnectReplyRaw) RaceFramesLength

func (rcv *ConnectReplyRaw) RaceFramesLength() int

func (*ConnectReplyRaw) Slowdown

func (rcv *ConnectReplyRaw) Slowdown() int32

func (*ConnectReplyRaw) SyscallTimeoutMs

func (rcv *ConnectReplyRaw) SyscallTimeoutMs() int32

func (*ConnectReplyRaw) Table

func (rcv *ConnectReplyRaw) Table() flatbuffers.Table

func (*ConnectReplyRaw) UnPack

func (rcv *ConnectReplyRaw) UnPack() *ConnectReplyRawT

func (*ConnectReplyRaw) UnPackTo

func (rcv *ConnectReplyRaw) UnPackTo(t *ConnectReplyRawT)

type ConnectReplyRawT

type ConnectReplyRawT struct {
	Debug            bool     `json:"debug"`
	Cover            bool     `json:"cover"`
	CoverEdges       bool     `json:"cover_edges"`
	Kernel64Bit      bool     `json:"kernel_64_bit"`
	Procs            int32    `json:"procs"`
	Slowdown         int32    `json:"slowdown"`
	SyscallTimeoutMs int32    `json:"syscall_timeout_ms"`
	ProgramTimeoutMs int32    `json:"program_timeout_ms"`
	LeakFrames       []string `json:"leak_frames"`
	RaceFrames       []string `json:"race_frames"`
	Features         Feature  `json:"features"`
	Files            []string `json:"files"`
}

func (*ConnectReplyRawT) Pack

type ConnectRequest

type ConnectRequest = ConnectRequestRawT

Flatbuffers compiler adds T suffix to object API types, which are actual structs representing types. This leads to non-idiomatic Go code, e.g. we would have to use []FileInfoT in Go code. So we use Raw suffix for all flatbuffers tables and rename object API types here to idiomatic names.

type ConnectRequestRaw

type ConnectRequestRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsConnectRequestRaw

func GetRootAsConnectRequestRaw(buf []byte, offset flatbuffers.UOffsetT) *ConnectRequestRaw

func GetSizePrefixedRootAsConnectRequestRaw

func GetSizePrefixedRootAsConnectRequestRaw(buf []byte, offset flatbuffers.UOffsetT) *ConnectRequestRaw

func (*ConnectRequestRaw) Arch

func (rcv *ConnectRequestRaw) Arch() []byte

func (*ConnectRequestRaw) GitRevision

func (rcv *ConnectRequestRaw) GitRevision() []byte

func (*ConnectRequestRaw) Id

func (rcv *ConnectRequestRaw) Id() int64

func (*ConnectRequestRaw) Init

func (rcv *ConnectRequestRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ConnectRequestRaw) MutateId

func (rcv *ConnectRequestRaw) MutateId(n int64) bool

func (*ConnectRequestRaw) SyzRevision

func (rcv *ConnectRequestRaw) SyzRevision() []byte

func (*ConnectRequestRaw) Table

func (rcv *ConnectRequestRaw) Table() flatbuffers.Table

func (*ConnectRequestRaw) UnPack

func (rcv *ConnectRequestRaw) UnPack() *ConnectRequestRawT

func (*ConnectRequestRaw) UnPackTo

func (rcv *ConnectRequestRaw) UnPackTo(t *ConnectRequestRawT)

type ConnectRequestRawT

type ConnectRequestRawT struct {
	Id          int64  `json:"id"`
	Arch        string `json:"arch"`
	GitRevision string `json:"git_revision"`
	SyzRevision string `json:"syz_revision"`
}

func (*ConnectRequestRawT) Pack

type Const

type Const uint64
const (
	ConstSnapshotDoorbellSize Const = 4096
	ConstMaxInputSize         Const = 4198400
	ConstMaxOutputSize        Const = 14680064
	ConstSnapshotShmemSize    Const = 33554432
)

func (Const) String

func (v Const) String() string

type CorpusTriaged

type CorpusTriaged = CorpusTriagedRawT

type CorpusTriagedRaw

type CorpusTriagedRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsCorpusTriagedRaw

func GetRootAsCorpusTriagedRaw(buf []byte, offset flatbuffers.UOffsetT) *CorpusTriagedRaw

func GetSizePrefixedRootAsCorpusTriagedRaw

func GetSizePrefixedRootAsCorpusTriagedRaw(buf []byte, offset flatbuffers.UOffsetT) *CorpusTriagedRaw

func (*CorpusTriagedRaw) Init

func (rcv *CorpusTriagedRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*CorpusTriagedRaw) Table

func (rcv *CorpusTriagedRaw) Table() flatbuffers.Table

func (*CorpusTriagedRaw) UnPack

func (rcv *CorpusTriagedRaw) UnPack() *CorpusTriagedRawT

func (*CorpusTriagedRaw) UnPackTo

func (rcv *CorpusTriagedRaw) UnPackTo(t *CorpusTriagedRawT)

type CorpusTriagedRawT

type CorpusTriagedRawT struct {
}

func (*CorpusTriagedRawT) Pack

type ExecEnv

type ExecEnv uint64
const (
	ExecEnvDebug               ExecEnv = 1
	ExecEnvSignal              ExecEnv = 2
	ExecEnvResetState          ExecEnv = 4
	ExecEnvSandboxNone         ExecEnv = 8
	ExecEnvSandboxSetuid       ExecEnv = 16
	ExecEnvSandboxNamespace    ExecEnv = 32
	ExecEnvSandboxAndroid      ExecEnv = 64
	ExecEnvExtraCover          ExecEnv = 128
	ExecEnvEnableTun           ExecEnv = 256
	ExecEnvEnableNetDev        ExecEnv = 512
	ExecEnvEnableNetReset      ExecEnv = 1024
	ExecEnvEnableCgroups       ExecEnv = 2048
	ExecEnvEnableCloseFds      ExecEnv = 4096
	ExecEnvEnableDevlinkPCI    ExecEnv = 8192
	ExecEnvEnableVhciInjection ExecEnv = 16384
	ExecEnvEnableWifi          ExecEnv = 32768
	ExecEnvDelayKcovMmap       ExecEnv = 65536
	ExecEnvEnableNicVF         ExecEnv = 131072
)

func SandboxToFlags

func SandboxToFlags(sandbox string) (ExecEnv, error)

func (ExecEnv) String

func (v ExecEnv) String() string

type ExecFlag

type ExecFlag uint64
const (
	ExecFlagCollectSignal ExecFlag = 1
	ExecFlagCollectCover  ExecFlag = 2
	ExecFlagDedupCover    ExecFlag = 4
	ExecFlagCollectComps  ExecFlag = 8
	ExecFlagThreaded      ExecFlag = 16
)

func (ExecFlag) String

func (v ExecFlag) String() string

type ExecOpts

type ExecOpts = ExecOptsRawT

type ExecOptsRaw

type ExecOptsRaw struct {
	// contains filtered or unexported fields
}

func (*ExecOptsRaw) EnvFlags

func (rcv *ExecOptsRaw) EnvFlags() ExecEnv

func (*ExecOptsRaw) ExecFlags

func (rcv *ExecOptsRaw) ExecFlags() ExecFlag

func (*ExecOptsRaw) Init

func (rcv *ExecOptsRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ExecOptsRaw) MutateEnvFlags

func (rcv *ExecOptsRaw) MutateEnvFlags(n ExecEnv) bool

func (*ExecOptsRaw) MutateExecFlags

func (rcv *ExecOptsRaw) MutateExecFlags(n ExecFlag) bool

func (*ExecOptsRaw) MutateSandboxArg

func (rcv *ExecOptsRaw) MutateSandboxArg(n int64) bool

func (*ExecOptsRaw) SandboxArg

func (rcv *ExecOptsRaw) SandboxArg() int64

func (*ExecOptsRaw) Table

func (rcv *ExecOptsRaw) Table() flatbuffers.Table

func (*ExecOptsRaw) UnPack

func (rcv *ExecOptsRaw) UnPack() *ExecOptsRawT

func (*ExecOptsRaw) UnPackTo

func (rcv *ExecOptsRaw) UnPackTo(t *ExecOptsRawT)

type ExecOptsRawT

type ExecOptsRawT struct {
	EnvFlags   ExecEnv  `json:"env_flags"`
	ExecFlags  ExecFlag `json:"exec_flags"`
	SandboxArg int64    `json:"sandbox_arg"`
}

func (*ExecOptsRawT) Pack

type ExecRequest

type ExecRequest = ExecRequestRawT

type ExecRequestRaw

type ExecRequestRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsExecRequestRaw

func GetRootAsExecRequestRaw(buf []byte, offset flatbuffers.UOffsetT) *ExecRequestRaw

func GetSizePrefixedRootAsExecRequestRaw

func GetSizePrefixedRootAsExecRequestRaw(buf []byte, offset flatbuffers.UOffsetT) *ExecRequestRaw

func (*ExecRequestRaw) AllSignal

func (rcv *ExecRequestRaw) AllSignal(j int) int32

func (*ExecRequestRaw) AllSignalLength

func (rcv *ExecRequestRaw) AllSignalLength() int

func (*ExecRequestRaw) Avoid

func (rcv *ExecRequestRaw) Avoid() uint64

func (*ExecRequestRaw) Data

func (rcv *ExecRequestRaw) Data(j int) byte

func (*ExecRequestRaw) DataBytes

func (rcv *ExecRequestRaw) DataBytes() []byte

func (*ExecRequestRaw) DataLength

func (rcv *ExecRequestRaw) DataLength() int

func (*ExecRequestRaw) ExecOpts

func (rcv *ExecRequestRaw) ExecOpts(obj *ExecOptsRaw) *ExecOptsRaw

func (*ExecRequestRaw) Flags

func (rcv *ExecRequestRaw) Flags() RequestFlag

func (*ExecRequestRaw) Id

func (rcv *ExecRequestRaw) Id() int64

func (*ExecRequestRaw) Init

func (rcv *ExecRequestRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ExecRequestRaw) MutateAllSignal

func (rcv *ExecRequestRaw) MutateAllSignal(j int, n int32) bool

func (*ExecRequestRaw) MutateAvoid

func (rcv *ExecRequestRaw) MutateAvoid(n uint64) bool

func (*ExecRequestRaw) MutateData

func (rcv *ExecRequestRaw) MutateData(j int, n byte) bool

func (*ExecRequestRaw) MutateFlags

func (rcv *ExecRequestRaw) MutateFlags(n RequestFlag) bool

func (*ExecRequestRaw) MutateId

func (rcv *ExecRequestRaw) MutateId(n int64) bool

func (*ExecRequestRaw) MutateType

func (rcv *ExecRequestRaw) MutateType(n RequestType) bool

func (*ExecRequestRaw) Table

func (rcv *ExecRequestRaw) Table() flatbuffers.Table

func (*ExecRequestRaw) Type

func (rcv *ExecRequestRaw) Type() RequestType

func (*ExecRequestRaw) UnPack

func (rcv *ExecRequestRaw) UnPack() *ExecRequestRawT

func (*ExecRequestRaw) UnPackTo

func (rcv *ExecRequestRaw) UnPackTo(t *ExecRequestRawT)

type ExecRequestRawT

type ExecRequestRawT struct {
	Id        int64         `json:"id"`
	Type      RequestType   `json:"type"`
	Avoid     uint64        `json:"avoid"`
	Data      []byte        `json:"data"`
	ExecOpts  *ExecOptsRawT `json:"exec_opts"`
	Flags     RequestFlag   `json:"flags"`
	AllSignal []int32       `json:"all_signal"`
}

func (*ExecRequestRawT) Pack

type ExecResult

type ExecResult = ExecResultRawT

type ExecResultRaw

type ExecResultRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsExecResultRaw

func GetRootAsExecResultRaw(buf []byte, offset flatbuffers.UOffsetT) *ExecResultRaw

func GetSizePrefixedRootAsExecResultRaw

func GetSizePrefixedRootAsExecResultRaw(buf []byte, offset flatbuffers.UOffsetT) *ExecResultRaw

func (*ExecResultRaw) Error

func (rcv *ExecResultRaw) Error() []byte

func (*ExecResultRaw) Hanged

func (rcv *ExecResultRaw) Hanged() bool

func (*ExecResultRaw) Id

func (rcv *ExecResultRaw) Id() int64

func (*ExecResultRaw) Info

func (rcv *ExecResultRaw) Info(obj *ProgInfoRaw) *ProgInfoRaw

func (*ExecResultRaw) Init

func (rcv *ExecResultRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ExecResultRaw) MutateHanged

func (rcv *ExecResultRaw) MutateHanged(n bool) bool

func (*ExecResultRaw) MutateId

func (rcv *ExecResultRaw) MutateId(n int64) bool

func (*ExecResultRaw) MutateOutput

func (rcv *ExecResultRaw) MutateOutput(j int, n byte) bool

func (*ExecResultRaw) MutateProc

func (rcv *ExecResultRaw) MutateProc(n int32) bool

func (*ExecResultRaw) Output

func (rcv *ExecResultRaw) Output(j int) byte

func (*ExecResultRaw) OutputBytes

func (rcv *ExecResultRaw) OutputBytes() []byte

func (*ExecResultRaw) OutputLength

func (rcv *ExecResultRaw) OutputLength() int

func (*ExecResultRaw) Proc

func (rcv *ExecResultRaw) Proc() int32

func (*ExecResultRaw) Table

func (rcv *ExecResultRaw) Table() flatbuffers.Table

func (*ExecResultRaw) UnPack

func (rcv *ExecResultRaw) UnPack() *ExecResultRawT

func (*ExecResultRaw) UnPackTo

func (rcv *ExecResultRaw) UnPackTo(t *ExecResultRawT)

type ExecResultRawT

type ExecResultRawT struct {
	Id     int64         `json:"id"`
	Proc   int32         `json:"proc"`
	Output []byte        `json:"output"`
	Hanged bool          `json:"hanged"`
	Error  string        `json:"error"`
	Info   *ProgInfoRawT `json:"info"`
}

func (*ExecResultRawT) Pack

type ExecutingMessage

type ExecutingMessage = ExecutingMessageRawT

type ExecutingMessageRaw

type ExecutingMessageRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsExecutingMessageRaw

func GetRootAsExecutingMessageRaw(buf []byte, offset flatbuffers.UOffsetT) *ExecutingMessageRaw

func GetSizePrefixedRootAsExecutingMessageRaw

func GetSizePrefixedRootAsExecutingMessageRaw(buf []byte, offset flatbuffers.UOffsetT) *ExecutingMessageRaw

func (*ExecutingMessageRaw) Id

func (rcv *ExecutingMessageRaw) Id() int64

func (*ExecutingMessageRaw) Init

func (rcv *ExecutingMessageRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ExecutingMessageRaw) MutateId

func (rcv *ExecutingMessageRaw) MutateId(n int64) bool

func (*ExecutingMessageRaw) MutateProcId

func (rcv *ExecutingMessageRaw) MutateProcId(n int32) bool

func (*ExecutingMessageRaw) MutateTry

func (rcv *ExecutingMessageRaw) MutateTry(n int32) bool

func (*ExecutingMessageRaw) MutateWaitDuration

func (rcv *ExecutingMessageRaw) MutateWaitDuration(n int64) bool

func (*ExecutingMessageRaw) ProcId

func (rcv *ExecutingMessageRaw) ProcId() int32

func (*ExecutingMessageRaw) Table

func (rcv *ExecutingMessageRaw) Table() flatbuffers.Table

func (*ExecutingMessageRaw) Try

func (rcv *ExecutingMessageRaw) Try() int32

func (*ExecutingMessageRaw) UnPack

func (*ExecutingMessageRaw) UnPackTo

func (rcv *ExecutingMessageRaw) UnPackTo(t *ExecutingMessageRawT)

func (*ExecutingMessageRaw) WaitDuration

func (rcv *ExecutingMessageRaw) WaitDuration() int64

type ExecutingMessageRawT

type ExecutingMessageRawT struct {
	Id           int64 `json:"id"`
	ProcId       int32 `json:"proc_id"`
	Try          int32 `json:"try"`
	WaitDuration int64 `json:"wait_duration"`
}

func (*ExecutingMessageRawT) Pack

type ExecutorMessage

type ExecutorMessage = ExecutorMessageRawT

type ExecutorMessageRaw

type ExecutorMessageRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsExecutorMessageRaw

func GetRootAsExecutorMessageRaw(buf []byte, offset flatbuffers.UOffsetT) *ExecutorMessageRaw

func GetSizePrefixedRootAsExecutorMessageRaw

func GetSizePrefixedRootAsExecutorMessageRaw(buf []byte, offset flatbuffers.UOffsetT) *ExecutorMessageRaw

func (*ExecutorMessageRaw) Init

func (rcv *ExecutorMessageRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ExecutorMessageRaw) Msg

func (rcv *ExecutorMessageRaw) Msg(obj *flatbuffers.Table) bool

func (*ExecutorMessageRaw) MsgType

func (rcv *ExecutorMessageRaw) MsgType() ExecutorMessagesRaw

func (*ExecutorMessageRaw) MutateMsgType

func (rcv *ExecutorMessageRaw) MutateMsgType(n ExecutorMessagesRaw) bool

func (*ExecutorMessageRaw) Table

func (rcv *ExecutorMessageRaw) Table() flatbuffers.Table

func (*ExecutorMessageRaw) UnPack

func (rcv *ExecutorMessageRaw) UnPack() *ExecutorMessageRawT

func (*ExecutorMessageRaw) UnPackTo

func (rcv *ExecutorMessageRaw) UnPackTo(t *ExecutorMessageRawT)

type ExecutorMessageRawT

type ExecutorMessageRawT struct {
	Msg *ExecutorMessagesRawT `json:"msg"`
}

func (*ExecutorMessageRawT) Pack

type ExecutorMessages

type ExecutorMessages = ExecutorMessagesRawT

type ExecutorMessagesRaw

type ExecutorMessagesRaw byte
const (
	ExecutorMessagesRawNONE       ExecutorMessagesRaw = 0
	ExecutorMessagesRawExecResult ExecutorMessagesRaw = 1
	ExecutorMessagesRawExecuting  ExecutorMessagesRaw = 2
	ExecutorMessagesRawState      ExecutorMessagesRaw = 3
)

func (ExecutorMessagesRaw) String

func (v ExecutorMessagesRaw) String() string

func (ExecutorMessagesRaw) UnPack

type ExecutorMessagesRawT

type ExecutorMessagesRawT struct {
	Type  ExecutorMessagesRaw
	Value interface{}
}

func (*ExecutorMessagesRawT) Pack

type Feature

type Feature uint64
const (
	FeatureCoverage         Feature = 1
	FeatureComparisons      Feature = 2
	FeatureExtraCoverage    Feature = 4
	FeatureDelayKcovMmap    Feature = 8
	FeatureSandboxNone      Feature = 16
	FeatureSandboxSetuid    Feature = 32
	FeatureSandboxNamespace Feature = 64
	FeatureSandboxAndroid   Feature = 128
	FeatureFault            Feature = 256
	FeatureLeak             Feature = 512
	FeatureNetInjection     Feature = 1024
	FeatureNetDevices       Feature = 2048
	FeatureKCSAN            Feature = 4096
	FeatureDevlinkPCI       Feature = 8192
	FeatureNicVF            Feature = 16384
	FeatureUSBEmulation     Feature = 32768
	FeatureVhciInjection    Feature = 65536
	FeatureWifiEmulation    Feature = 131072
	FeatureLRWPANEmulation  Feature = 262144
	FeatureBinFmtMisc       Feature = 524288
	FeatureSwap             Feature = 1048576
)

func (Feature) String

func (v Feature) String() string

type FeatureInfo

type FeatureInfo = FeatureInfoRawT

type FeatureInfoRaw

type FeatureInfoRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsFeatureInfoRaw

func GetRootAsFeatureInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *FeatureInfoRaw

func GetSizePrefixedRootAsFeatureInfoRaw

func GetSizePrefixedRootAsFeatureInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *FeatureInfoRaw

func (*FeatureInfoRaw) Id

func (rcv *FeatureInfoRaw) Id() Feature

func (*FeatureInfoRaw) Init

func (rcv *FeatureInfoRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*FeatureInfoRaw) MutateId

func (rcv *FeatureInfoRaw) MutateId(n Feature) bool

func (*FeatureInfoRaw) MutateNeedSetup

func (rcv *FeatureInfoRaw) MutateNeedSetup(n bool) bool

func (*FeatureInfoRaw) NeedSetup

func (rcv *FeatureInfoRaw) NeedSetup() bool

func (*FeatureInfoRaw) Reason

func (rcv *FeatureInfoRaw) Reason() []byte

func (*FeatureInfoRaw) Table

func (rcv *FeatureInfoRaw) Table() flatbuffers.Table

func (*FeatureInfoRaw) UnPack

func (rcv *FeatureInfoRaw) UnPack() *FeatureInfoRawT

func (*FeatureInfoRaw) UnPackTo

func (rcv *FeatureInfoRaw) UnPackTo(t *FeatureInfoRawT)

type FeatureInfoRawT

type FeatureInfoRawT struct {
	Id        Feature `json:"id"`
	NeedSetup bool    `json:"need_setup"`
	Reason    string  `json:"reason"`
}

func (*FeatureInfoRawT) Pack

type FileInfo

type FileInfo = FileInfoRawT

type FileInfoRaw

type FileInfoRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsFileInfoRaw

func GetRootAsFileInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *FileInfoRaw

func GetSizePrefixedRootAsFileInfoRaw

func GetSizePrefixedRootAsFileInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *FileInfoRaw

func (*FileInfoRaw) Data

func (rcv *FileInfoRaw) Data(j int) byte

func (*FileInfoRaw) DataBytes

func (rcv *FileInfoRaw) DataBytes() []byte

func (*FileInfoRaw) DataLength

func (rcv *FileInfoRaw) DataLength() int

func (*FileInfoRaw) Error

func (rcv *FileInfoRaw) Error() []byte

func (*FileInfoRaw) Exists

func (rcv *FileInfoRaw) Exists() bool

func (*FileInfoRaw) Init

func (rcv *FileInfoRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*FileInfoRaw) MutateData

func (rcv *FileInfoRaw) MutateData(j int, n byte) bool

func (*FileInfoRaw) MutateExists

func (rcv *FileInfoRaw) MutateExists(n bool) bool

func (*FileInfoRaw) Name

func (rcv *FileInfoRaw) Name() []byte

func (*FileInfoRaw) Table

func (rcv *FileInfoRaw) Table() flatbuffers.Table

func (*FileInfoRaw) UnPack

func (rcv *FileInfoRaw) UnPack() *FileInfoRawT

func (*FileInfoRaw) UnPackTo

func (rcv *FileInfoRaw) UnPackTo(t *FileInfoRawT)

type FileInfoRawT

type FileInfoRawT struct {
	Name   string `json:"name"`
	Exists bool   `json:"exists"`
	Error  string `json:"error"`
	Data   []byte `json:"data"`
}

func (*FileInfoRawT) Pack

type GlobInfo

type GlobInfo = GlobInfoRawT

type GlobInfoRaw

type GlobInfoRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsGlobInfoRaw

func GetRootAsGlobInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *GlobInfoRaw

func GetSizePrefixedRootAsGlobInfoRaw

func GetSizePrefixedRootAsGlobInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *GlobInfoRaw

func (*GlobInfoRaw) Files

func (rcv *GlobInfoRaw) Files(j int) []byte

func (*GlobInfoRaw) FilesLength

func (rcv *GlobInfoRaw) FilesLength() int

func (*GlobInfoRaw) Init

func (rcv *GlobInfoRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*GlobInfoRaw) Name

func (rcv *GlobInfoRaw) Name() []byte

func (*GlobInfoRaw) Table

func (rcv *GlobInfoRaw) Table() flatbuffers.Table

func (*GlobInfoRaw) UnPack

func (rcv *GlobInfoRaw) UnPack() *GlobInfoRawT

func (*GlobInfoRaw) UnPackTo

func (rcv *GlobInfoRaw) UnPackTo(t *GlobInfoRawT)

type GlobInfoRawT

type GlobInfoRawT struct {
	Name  string   `json:"name"`
	Files []string `json:"files"`
}

func (*GlobInfoRawT) Pack

type HostMessage

type HostMessage = HostMessageRawT

type HostMessageRaw

type HostMessageRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsHostMessageRaw

func GetRootAsHostMessageRaw(buf []byte, offset flatbuffers.UOffsetT) *HostMessageRaw

func GetSizePrefixedRootAsHostMessageRaw

func GetSizePrefixedRootAsHostMessageRaw(buf []byte, offset flatbuffers.UOffsetT) *HostMessageRaw

func (*HostMessageRaw) Init

func (rcv *HostMessageRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*HostMessageRaw) Msg

func (rcv *HostMessageRaw) Msg(obj *flatbuffers.Table) bool

func (*HostMessageRaw) MsgType

func (rcv *HostMessageRaw) MsgType() HostMessagesRaw

func (*HostMessageRaw) MutateMsgType

func (rcv *HostMessageRaw) MutateMsgType(n HostMessagesRaw) bool

func (*HostMessageRaw) Table

func (rcv *HostMessageRaw) Table() flatbuffers.Table

func (*HostMessageRaw) UnPack

func (rcv *HostMessageRaw) UnPack() *HostMessageRawT

func (*HostMessageRaw) UnPackTo

func (rcv *HostMessageRaw) UnPackTo(t *HostMessageRawT)

type HostMessageRawT

type HostMessageRawT struct {
	Msg *HostMessagesRawT `json:"msg"`
}

func (*HostMessageRawT) Pack

type HostMessages

type HostMessages = HostMessagesRawT

type HostMessagesRaw

type HostMessagesRaw byte
const (
	HostMessagesRawNONE          HostMessagesRaw = 0
	HostMessagesRawExecRequest   HostMessagesRaw = 1
	HostMessagesRawSignalUpdate  HostMessagesRaw = 2
	HostMessagesRawCorpusTriaged HostMessagesRaw = 3
	HostMessagesRawStateRequest  HostMessagesRaw = 4
)

func (HostMessagesRaw) String

func (v HostMessagesRaw) String() string

func (HostMessagesRaw) UnPack

type HostMessagesRawT

type HostMessagesRawT struct {
	Type  HostMessagesRaw
	Value interface{}
}

func (*HostMessagesRawT) Pack

type InfoReply

type InfoReply = InfoReplyRawT

type InfoReplyRaw

type InfoReplyRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsInfoReplyRaw

func GetRootAsInfoReplyRaw(buf []byte, offset flatbuffers.UOffsetT) *InfoReplyRaw

func GetSizePrefixedRootAsInfoReplyRaw

func GetSizePrefixedRootAsInfoReplyRaw(buf []byte, offset flatbuffers.UOffsetT) *InfoReplyRaw

func (*InfoReplyRaw) CoverFilter

func (rcv *InfoReplyRaw) CoverFilter(j int) uint64

func (*InfoReplyRaw) CoverFilterLength

func (rcv *InfoReplyRaw) CoverFilterLength() int

func (*InfoReplyRaw) Init

func (rcv *InfoReplyRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*InfoReplyRaw) MutateCoverFilter

func (rcv *InfoReplyRaw) MutateCoverFilter(j int, n uint64) bool

func (*InfoReplyRaw) Table

func (rcv *InfoReplyRaw) Table() flatbuffers.Table

func (*InfoReplyRaw) UnPack

func (rcv *InfoReplyRaw) UnPack() *InfoReplyRawT

func (*InfoReplyRaw) UnPackTo

func (rcv *InfoReplyRaw) UnPackTo(t *InfoReplyRawT)

type InfoReplyRawT

type InfoReplyRawT struct {
	CoverFilter []uint64 `json:"cover_filter"`
}

func (*InfoReplyRawT) Pack

type InfoRequest

type InfoRequest = InfoRequestRawT

type InfoRequestRaw

type InfoRequestRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsInfoRequestRaw

func GetRootAsInfoRequestRaw(buf []byte, offset flatbuffers.UOffsetT) *InfoRequestRaw

func GetSizePrefixedRootAsInfoRequestRaw

func GetSizePrefixedRootAsInfoRequestRaw(buf []byte, offset flatbuffers.UOffsetT) *InfoRequestRaw

func (*InfoRequestRaw) Error

func (rcv *InfoRequestRaw) Error() []byte

func (*InfoRequestRaw) Features

func (rcv *InfoRequestRaw) Features(obj *FeatureInfoRaw, j int) bool

func (*InfoRequestRaw) FeaturesLength

func (rcv *InfoRequestRaw) FeaturesLength() int

func (*InfoRequestRaw) Files

func (rcv *InfoRequestRaw) Files(obj *FileInfoRaw, j int) bool

func (*InfoRequestRaw) FilesLength

func (rcv *InfoRequestRaw) FilesLength() int

func (*InfoRequestRaw) Init

func (rcv *InfoRequestRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*InfoRequestRaw) Table

func (rcv *InfoRequestRaw) Table() flatbuffers.Table

func (*InfoRequestRaw) UnPack

func (rcv *InfoRequestRaw) UnPack() *InfoRequestRawT

func (*InfoRequestRaw) UnPackTo

func (rcv *InfoRequestRaw) UnPackTo(t *InfoRequestRawT)

type InfoRequestRawT

type InfoRequestRawT struct {
	Error    string             `json:"error"`
	Features []*FeatureInfoRawT `json:"features"`
	Files    []*FileInfoRawT    `json:"files"`
}

func (*InfoRequestRawT) Pack

type ProgInfo

type ProgInfo = ProgInfoRawT

func EmptyProgInfo

func EmptyProgInfo(calls int) *ProgInfo

func (*ProgInfo) Clone

func (pi *ProgInfo) Clone() *ProgInfo

type ProgInfoRaw

type ProgInfoRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsProgInfoRaw

func GetRootAsProgInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *ProgInfoRaw

func GetSizePrefixedRootAsProgInfoRaw

func GetSizePrefixedRootAsProgInfoRaw(buf []byte, offset flatbuffers.UOffsetT) *ProgInfoRaw

func (*ProgInfoRaw) Calls

func (rcv *ProgInfoRaw) Calls(obj *CallInfoRaw, j int) bool

func (*ProgInfoRaw) CallsLength

func (rcv *ProgInfoRaw) CallsLength() int

func (*ProgInfoRaw) Elapsed

func (rcv *ProgInfoRaw) Elapsed() uint64

func (*ProgInfoRaw) Extra

func (rcv *ProgInfoRaw) Extra(obj *CallInfoRaw) *CallInfoRaw

func (*ProgInfoRaw) ExtraRaw

func (rcv *ProgInfoRaw) ExtraRaw(obj *CallInfoRaw, j int) bool

func (*ProgInfoRaw) ExtraRawLength

func (rcv *ProgInfoRaw) ExtraRawLength() int

func (*ProgInfoRaw) Freshness

func (rcv *ProgInfoRaw) Freshness() uint64

func (*ProgInfoRaw) Init

func (rcv *ProgInfoRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*ProgInfoRaw) MutateElapsed

func (rcv *ProgInfoRaw) MutateElapsed(n uint64) bool

func (*ProgInfoRaw) MutateFreshness

func (rcv *ProgInfoRaw) MutateFreshness(n uint64) bool

func (*ProgInfoRaw) Table

func (rcv *ProgInfoRaw) Table() flatbuffers.Table

func (*ProgInfoRaw) UnPack

func (rcv *ProgInfoRaw) UnPack() *ProgInfoRawT

func (*ProgInfoRaw) UnPackTo

func (rcv *ProgInfoRaw) UnPackTo(t *ProgInfoRawT)

type ProgInfoRawT

type ProgInfoRawT struct {
	Calls     []*CallInfoRawT `json:"calls"`
	ExtraRaw  []*CallInfoRawT `json:"extra_raw"`
	Extra     *CallInfoRawT   `json:"extra"`
	Elapsed   uint64          `json:"elapsed"`
	Freshness uint64          `json:"freshness"`
}

func (*ProgInfoRawT) Pack

type RecvType

type RecvType[T any] interface {
	UnPack() *T
	flatbuffers.FlatBuffer
}

type RequestFlag

type RequestFlag uint64
const (
	RequestFlagReturnOutput RequestFlag = 1
	RequestFlagReturnError  RequestFlag = 2
)

func (RequestFlag) String

func (v RequestFlag) String() string

type RequestType

type RequestType uint64
const (
	RequestTypeProgram RequestType = 0
	RequestTypeBinary  RequestType = 1
	RequestTypeGlob    RequestType = 2
)

func (RequestType) String

func (v RequestType) String() string

type Serv

type Serv struct {
	Addr *net.TCPAddr
	// contains filtered or unexported fields
}

func ListenAndServe

func ListenAndServe(addr string, handler func(*Conn)) (*Serv, error)

func (*Serv) Close

func (s *Serv) Close() error

type SignalUpdate

type SignalUpdate = SignalUpdateRawT

type SignalUpdateRaw

type SignalUpdateRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsSignalUpdateRaw

func GetRootAsSignalUpdateRaw(buf []byte, offset flatbuffers.UOffsetT) *SignalUpdateRaw

func GetSizePrefixedRootAsSignalUpdateRaw

func GetSizePrefixedRootAsSignalUpdateRaw(buf []byte, offset flatbuffers.UOffsetT) *SignalUpdateRaw

func (*SignalUpdateRaw) Init

func (rcv *SignalUpdateRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*SignalUpdateRaw) MutateNewMax

func (rcv *SignalUpdateRaw) MutateNewMax(j int, n uint64) bool

func (*SignalUpdateRaw) NewMax

func (rcv *SignalUpdateRaw) NewMax(j int) uint64

func (*SignalUpdateRaw) NewMaxLength

func (rcv *SignalUpdateRaw) NewMaxLength() int

func (*SignalUpdateRaw) Table

func (rcv *SignalUpdateRaw) Table() flatbuffers.Table

func (*SignalUpdateRaw) UnPack

func (rcv *SignalUpdateRaw) UnPack() *SignalUpdateRawT

func (*SignalUpdateRaw) UnPackTo

func (rcv *SignalUpdateRaw) UnPackTo(t *SignalUpdateRawT)

type SignalUpdateRawT

type SignalUpdateRawT struct {
	NewMax []uint64 `json:"new_max"`
}

func (*SignalUpdateRawT) Pack

type SnapshotHandshake

type SnapshotHandshake struct {
	// contains filtered or unexported fields
}

func GetRootAsSnapshotHandshake

func GetRootAsSnapshotHandshake(buf []byte, offset flatbuffers.UOffsetT) *SnapshotHandshake

func GetSizePrefixedRootAsSnapshotHandshake

func GetSizePrefixedRootAsSnapshotHandshake(buf []byte, offset flatbuffers.UOffsetT) *SnapshotHandshake

func (*SnapshotHandshake) CoverEdges

func (rcv *SnapshotHandshake) CoverEdges() bool

func (*SnapshotHandshake) EnvFlags

func (rcv *SnapshotHandshake) EnvFlags() ExecEnv

func (*SnapshotHandshake) Features

func (rcv *SnapshotHandshake) Features() Feature

func (*SnapshotHandshake) Init

func (rcv *SnapshotHandshake) Init(buf []byte, i flatbuffers.UOffsetT)

func (*SnapshotHandshake) Kernel64Bit

func (rcv *SnapshotHandshake) Kernel64Bit() bool

func (*SnapshotHandshake) MutateCoverEdges

func (rcv *SnapshotHandshake) MutateCoverEdges(n bool) bool

func (*SnapshotHandshake) MutateEnvFlags

func (rcv *SnapshotHandshake) MutateEnvFlags(n ExecEnv) bool

func (*SnapshotHandshake) MutateFeatures

func (rcv *SnapshotHandshake) MutateFeatures(n Feature) bool

func (*SnapshotHandshake) MutateKernel64Bit

func (rcv *SnapshotHandshake) MutateKernel64Bit(n bool) bool

func (*SnapshotHandshake) MutateProgramTimeoutMs

func (rcv *SnapshotHandshake) MutateProgramTimeoutMs(n int32) bool

func (*SnapshotHandshake) MutateSandboxArg

func (rcv *SnapshotHandshake) MutateSandboxArg(n int64) bool

func (*SnapshotHandshake) MutateSlowdown

func (rcv *SnapshotHandshake) MutateSlowdown(n int32) bool

func (*SnapshotHandshake) MutateSyscallTimeoutMs

func (rcv *SnapshotHandshake) MutateSyscallTimeoutMs(n int32) bool

func (*SnapshotHandshake) ProgramTimeoutMs

func (rcv *SnapshotHandshake) ProgramTimeoutMs() int32

func (*SnapshotHandshake) SandboxArg

func (rcv *SnapshotHandshake) SandboxArg() int64

func (*SnapshotHandshake) Slowdown

func (rcv *SnapshotHandshake) Slowdown() int32

func (*SnapshotHandshake) SyscallTimeoutMs

func (rcv *SnapshotHandshake) SyscallTimeoutMs() int32

func (*SnapshotHandshake) Table

func (rcv *SnapshotHandshake) Table() flatbuffers.Table

func (*SnapshotHandshake) UnPack

func (rcv *SnapshotHandshake) UnPack() *SnapshotHandshakeT

func (*SnapshotHandshake) UnPackTo

func (rcv *SnapshotHandshake) UnPackTo(t *SnapshotHandshakeT)

type SnapshotHandshakeT

type SnapshotHandshakeT struct {
	CoverEdges       bool    `json:"cover_edges"`
	Kernel64Bit      bool    `json:"kernel_64_bit"`
	Slowdown         int32   `json:"slowdown"`
	SyscallTimeoutMs int32   `json:"syscall_timeout_ms"`
	ProgramTimeoutMs int32   `json:"program_timeout_ms"`
	Features         Feature `json:"features"`
	EnvFlags         ExecEnv `json:"env_flags"`
	SandboxArg       int64   `json:"sandbox_arg"`
}

func (*SnapshotHandshakeT) Pack

type SnapshotHeader

type SnapshotHeader struct {
	// contains filtered or unexported fields
}

func GetRootAsSnapshotHeader

func GetRootAsSnapshotHeader(buf []byte, offset flatbuffers.UOffsetT) *SnapshotHeader

func GetSizePrefixedRootAsSnapshotHeader

func GetSizePrefixedRootAsSnapshotHeader(buf []byte, offset flatbuffers.UOffsetT) *SnapshotHeader

func (*SnapshotHeader) Init

func (rcv *SnapshotHeader) Init(buf []byte, i flatbuffers.UOffsetT)

func (*SnapshotHeader) MutateOutputOffset

func (rcv *SnapshotHeader) MutateOutputOffset(n uint32) bool

func (*SnapshotHeader) MutateOutputSize

func (rcv *SnapshotHeader) MutateOutputSize(n uint32) bool

func (*SnapshotHeader) MutateState

func (rcv *SnapshotHeader) MutateState(n SnapshotState) bool

func (*SnapshotHeader) OutputOffset

func (rcv *SnapshotHeader) OutputOffset() uint32

func (*SnapshotHeader) OutputSize

func (rcv *SnapshotHeader) OutputSize() uint32

func (*SnapshotHeader) State

func (rcv *SnapshotHeader) State() SnapshotState

func (*SnapshotHeader) Table

func (rcv *SnapshotHeader) Table() flatbuffers.Table

func (*SnapshotHeader) UnPack

func (rcv *SnapshotHeader) UnPack() *SnapshotHeaderT

func (*SnapshotHeader) UnPackTo

func (rcv *SnapshotHeader) UnPackTo(t *SnapshotHeaderT)

type SnapshotHeaderT

type SnapshotHeaderT struct {
	State        SnapshotState `json:"state"`
	OutputOffset uint32        `json:"output_offset"`
	OutputSize   uint32        `json:"output_size"`
}

func (*SnapshotHeaderT) LoadState

func (hdr *SnapshotHeaderT) LoadState() SnapshotState

func (*SnapshotHeaderT) Pack

func (*SnapshotHeaderT) UpdateState

func (hdr *SnapshotHeaderT) UpdateState(state SnapshotState)

type SnapshotRequest

type SnapshotRequest struct {
	// contains filtered or unexported fields
}

func GetRootAsSnapshotRequest

func GetRootAsSnapshotRequest(buf []byte, offset flatbuffers.UOffsetT) *SnapshotRequest

func GetSizePrefixedRootAsSnapshotRequest

func GetSizePrefixedRootAsSnapshotRequest(buf []byte, offset flatbuffers.UOffsetT) *SnapshotRequest

func (*SnapshotRequest) AllCallSignal

func (rcv *SnapshotRequest) AllCallSignal() uint64

func (*SnapshotRequest) AllExtraSignal

func (rcv *SnapshotRequest) AllExtraSignal() bool

func (*SnapshotRequest) ExecFlags

func (rcv *SnapshotRequest) ExecFlags() ExecFlag

func (*SnapshotRequest) Init

func (rcv *SnapshotRequest) Init(buf []byte, i flatbuffers.UOffsetT)

func (*SnapshotRequest) MutateAllCallSignal

func (rcv *SnapshotRequest) MutateAllCallSignal(n uint64) bool

func (*SnapshotRequest) MutateAllExtraSignal

func (rcv *SnapshotRequest) MutateAllExtraSignal(n bool) bool

func (*SnapshotRequest) MutateExecFlags

func (rcv *SnapshotRequest) MutateExecFlags(n ExecFlag) bool

func (*SnapshotRequest) MutateNumCalls

func (rcv *SnapshotRequest) MutateNumCalls(n int32) bool

func (*SnapshotRequest) MutateProgData

func (rcv *SnapshotRequest) MutateProgData(j int, n byte) bool

func (*SnapshotRequest) NumCalls

func (rcv *SnapshotRequest) NumCalls() int32

func (*SnapshotRequest) ProgData

func (rcv *SnapshotRequest) ProgData(j int) byte

func (*SnapshotRequest) ProgDataBytes

func (rcv *SnapshotRequest) ProgDataBytes() []byte

func (*SnapshotRequest) ProgDataLength

func (rcv *SnapshotRequest) ProgDataLength() int

func (*SnapshotRequest) Table

func (rcv *SnapshotRequest) Table() flatbuffers.Table

func (*SnapshotRequest) UnPack

func (rcv *SnapshotRequest) UnPack() *SnapshotRequestT

func (*SnapshotRequest) UnPackTo

func (rcv *SnapshotRequest) UnPackTo(t *SnapshotRequestT)

type SnapshotRequestT

type SnapshotRequestT struct {
	ExecFlags      ExecFlag `json:"exec_flags"`
	NumCalls       int32    `json:"num_calls"`
	AllCallSignal  uint64   `json:"all_call_signal"`
	AllExtraSignal bool     `json:"all_extra_signal"`
	ProgData       []byte   `json:"prog_data"`
}

func (*SnapshotRequestT) Pack

type SnapshotState

type SnapshotState uint64
const (
	SnapshotStateInitial     SnapshotState = 0
	SnapshotStateHandshake   SnapshotState = 1
	SnapshotStateReady       SnapshotState = 2
	SnapshotStateSnapshotted SnapshotState = 3
	SnapshotStateExecute     SnapshotState = 4
	SnapshotStateExecuted    SnapshotState = 5
	SnapshotStateFailed      SnapshotState = 6
)

func (SnapshotState) String

func (v SnapshotState) String() string

type StateRequest

type StateRequest = StateRequestRawT

type StateRequestRaw

type StateRequestRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsStateRequestRaw

func GetRootAsStateRequestRaw(buf []byte, offset flatbuffers.UOffsetT) *StateRequestRaw

func GetSizePrefixedRootAsStateRequestRaw

func GetSizePrefixedRootAsStateRequestRaw(buf []byte, offset flatbuffers.UOffsetT) *StateRequestRaw

func (*StateRequestRaw) Init

func (rcv *StateRequestRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*StateRequestRaw) Table

func (rcv *StateRequestRaw) Table() flatbuffers.Table

func (*StateRequestRaw) UnPack

func (rcv *StateRequestRaw) UnPack() *StateRequestRawT

func (*StateRequestRaw) UnPackTo

func (rcv *StateRequestRaw) UnPackTo(t *StateRequestRawT)

type StateRequestRawT

type StateRequestRawT struct {
}

func (*StateRequestRawT) Pack

type StateResult

type StateResult = StateResultRawT

type StateResultRaw

type StateResultRaw struct {
	// contains filtered or unexported fields
}

func GetRootAsStateResultRaw

func GetRootAsStateResultRaw(buf []byte, offset flatbuffers.UOffsetT) *StateResultRaw

func GetSizePrefixedRootAsStateResultRaw

func GetSizePrefixedRootAsStateResultRaw(buf []byte, offset flatbuffers.UOffsetT) *StateResultRaw

func (*StateResultRaw) Data

func (rcv *StateResultRaw) Data(j int) byte

func (*StateResultRaw) DataBytes

func (rcv *StateResultRaw) DataBytes() []byte

func (*StateResultRaw) DataLength

func (rcv *StateResultRaw) DataLength() int

func (*StateResultRaw) Init

func (rcv *StateResultRaw) Init(buf []byte, i flatbuffers.UOffsetT)

func (*StateResultRaw) MutateData

func (rcv *StateResultRaw) MutateData(j int, n byte) bool

func (*StateResultRaw) Table

func (rcv *StateResultRaw) Table() flatbuffers.Table

func (*StateResultRaw) UnPack

func (rcv *StateResultRaw) UnPack() *StateResultRawT

func (*StateResultRaw) UnPackTo

func (rcv *StateResultRaw) UnPackTo(t *StateResultRawT)

type StateResultRawT

type StateResultRawT struct {
	Data []byte `json:"data"`
}

func (*StateResultRawT) Pack

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL