MCPcopy
hub / github.com/golang/net / Instruction

Interface Instruction

bpf/instructions.go:11–14  ·  view source on GitHub ↗

An Instruction is one instruction executed by the BPF virtual machine.

Source from the content-addressed store, hash-verified

9// An Instruction is one instruction executed by the BPF virtual
10// machine.
11type Instruction interface {
12 // Assemble assembles the Instruction into a RawInstruction.
13 Assemble() (RawInstruction, error)
14}
15
16// A RawInstruction is a raw BPF virtual machine instruction.
17type RawInstruction struct {

Callers 1

AssembleFunction · 0.65

Implementers 15

RawInstructionbpf/instructions.go
LoadConstantbpf/instructions.go
LoadScratchbpf/instructions.go
LoadAbsolutebpf/instructions.go
LoadIndirectbpf/instructions.go
LoadMemShiftbpf/instructions.go
LoadExtensionbpf/instructions.go
StoreScratchbpf/instructions.go
ALUOpConstantbpf/instructions.go
ALUOpXbpf/instructions.go
NegateAbpf/instructions.go
Jumpbpf/instructions.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…