debugserver

package
Version: v1.0.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 17 Imported by: 0

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

func Start

func Start(device ios.DeviceEntry, appPath string, stopAtEntry bool) error

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) Request

func (c *DebugClient) Request(req string) (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

func (*GDBServer) Recv

func (g *GDBServer) Recv() (string, error)

func (*GDBServer) Request

func (g *GDBServer) Request(req string) (string, error)

func (*GDBServer) Send

func (g *GDBServer) Send(req string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL