Documentation ¶
Index ¶
- type BinaryRegexp
- func (b *BinaryRegexp) FindBytesMatchStartingAt(bytes []byte, startAt int) (*binexp.Match, error)
- func (b *BinaryRegexp) FindNextMatch(m *binexp.Match) (*binexp.Match, error)
- func (b *BinaryRegexp) FindNextOverlappingMatch(m *binexp.Match) (*binexp.Match, error)
- func (b *BinaryRegexp) String() string
- type DecoderFunc
- type EndSpec
- type Gadget
- type GadgetInstance
- type UserSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryRegexp ¶
type BinaryRegexp struct {
// contains filtered or unexported fields
}
func MustCompile ¶
func MustCompile(expr string) *BinaryRegexp
func (*BinaryRegexp) FindBytesMatchStartingAt ¶
func (*BinaryRegexp) FindNextMatch ¶
func (*BinaryRegexp) FindNextOverlappingMatch ¶
func (*BinaryRegexp) String ¶
func (b *BinaryRegexp) String() string
type DecoderFunc ¶
type EndSpec ¶
type EndSpec struct { Opcode *BinaryRegexp Size int Align uint64 }
Specifies the termination conditions for a gadget A gadget is typically <Some instruction set> + <some termination condition> A termination is a control-flow change
type Gadget ¶
type Gadget []*Instruction.Instruction
func (Gadget) Bytes ¶
func (g Gadget) Bytes() Instruction.Octets
type GadgetInstance ¶
Click to show internal directories.
Click to hide internal directories.