Documentation ¶
Index ¶
Constants ¶
View Source
const ( PY_PATH = "/tmp/go_ios_lldb.py" SCRIPT_PATH = "/tmp/go_ios_lldb.sh" LLDB_SHELL = "/usr/bin/lldb" LLDB_FMT = `` /* 510-byte string literal not displayed */ STOP_AT_ENTRY = "launchInfo.SetLaunchFlags(lldb.eLaunchFlagStopAtEntry)" PY_FMT = `` /* 5324-byte string literal not displayed */ )
Variables ¶
View Source
var (
ErrInvalidGDBServerPayload = errors.New("invalid payload")
)
Functions ¶
Types ¶
type DebugClient ¶
type DebugClient struct {
// contains filtered or unexported fields
}
ref: https://github.com/steeve/itool/blob/master/debugserver/debugserver.go#L14
func (*DebugClient) Close ¶
func (c *DebugClient) Close()
func (*DebugClient) Conn ¶
func (c *DebugClient) Conn() net.Conn
func (*DebugClient) Recv ¶
func (c *DebugClient) Recv() (string, error)
func (*DebugClient) Send ¶
func (c *DebugClient) Send(req string) error
type GDBServer ¶
type GDBServer struct {
// contains filtered or unexported fields
}
func NewGDBServer ¶
func NewGDBServer(rw io.ReadWriter) *GDBServer
Implements wire level GDBServer protocol
Click to show internal directories.
Click to hide internal directories.