Documentation
¶
Index ¶
- type ArchitectureType
- type CallParameters
- type CancelFunc
- type GDB
- func (g *GDB) BreakpointSet(addr uint64) (CancelFunc, error)
- func (g *GDB) Call(params CallParameters) (uint64, error)
- func (g *GDB) MemoryRead(addr uint64, data []byte) error
- func (g *GDB) MemoryWrite(addr uint64, data []byte) error
- func (g *GDB) RawExchange(out []byte) ([]byte, error)
- func (g *GDB) RegistersRead(regs Registers) error
- func (g *GDB) RegistersWrite(reg Registers) error
- func (g *GDB) Run(setAddr bool, addr uint64) error
- type GDBConfig
- type GDBError
- type Registers
- type ThumbRegisters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallParameters ¶
type CancelFunc ¶
type CancelFunc func() error
type GDB ¶
type GDB struct {
// contains filtered or unexported fields
}
func (*GDB) BreakpointSet ¶
func (g *GDB) BreakpointSet(addr uint64) (CancelFunc, error)
func (*GDB) RegistersRead ¶
func (*GDB) RegistersWrite ¶
type GDBConfig ¶
type GDBConfig struct {
Architecture ArchitectureType
MaxWriteSize int
MaxReadSize int
}
type ThumbRegisters ¶
type ThumbRegisters struct {
Reg [13]uint32 // R0-R12
StackPointer uint32 // R13
LinkRegister uint32 // R14
ProgramCounter uint32 // R15
XPSR uint32
}
func (*ThumbRegisters) Decode ¶
func (a *ThumbRegisters) Decode(data []byte) error
func (ThumbRegisters) Encode ¶
func (a ThumbRegisters) Encode() []byte
func (ThumbRegisters) String ¶
func (a ThumbRegisters) String() string
Click to show internal directories.
Click to hide internal directories.