Documentation
¶
Index ¶
- func InfoFree(i *iInfo)
- type Gadget
- type Info
- func (info *Info) DecodeGadget(pc Ptr, instructionsMin int, instructionsMax int, octetsMin int, octetsMax int) (*Gadget, error)
- func (info *Info) DecodeInstruction(pc Ptr) (instruction *Instruction, err error)
- func (info *Info) GetAllGadgets(instructionsMin int, instructionsMax int, octetsMin int, octetsMax int) ([]*Gadget, []error)
- type Instruction
- type Len
- type Octets
- type Ptr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gadget ¶
type Gadget struct {
Address Ptr `json:"address,string"`
Instructions []*Instruction `json:"instructions"`
}
func (*Gadget) InstructionString ¶
type Info ¶
type Info struct {
// contains filtered or unexported fields
}
func (*Info) DecodeGadget ¶
func (*Info) DecodeInstruction ¶
func (info *Info) DecodeInstruction(pc Ptr) (instruction *Instruction, err error)
type Instruction ¶
type Instruction struct {
Address Ptr `json:"address,string"`
Octets Octets `json:"octets"`
DisAsm string `json:"disasm"`
}
func (*Instruction) String ¶
func (i *Instruction) String() string
type Ptr ¶
type Ptr uintptr
func (Ptr) MarshalJSON ¶
func (Ptr) MarshalText ¶
func (*Ptr) UnmarshalJSON ¶
func (*Ptr) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.