debugserver

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PyPath     = "/tmp/iosretools_lldb.py"
	ScriptPath = "/tmp/iosretools_lldb.sh"
	LLDBShell  = "/usr/bin/lldb"
	LLDBScript = `` /* 510-byte string literal not displayed */

	StopAtEntry = "launchInfo.SetLaunchFlags(lldb.eLaunchFlagStopAtEntry)"
	PyScript    = `import time
import os
import sys
import shlex
import lldb

listener = None
startup_error = lldb.SBError()
	`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(udid string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Conn

func (c *Client) Conn() net.Conn

func (*Client) Recv

func (c *Client) Recv() (string, error)

func (*Client) Request

func (c *Client) Request(req string) (string, error)

func (*Client) Send

func (c *Client) Send(req string) error

type EventOutput

type EventOutput struct {
	// contains filtered or unexported fields
}

type EventThread

type EventThread struct{}

type GDBServer

type GDBServer struct {
	// contains filtered or unexported fields
}

func NewGDBServer

func NewGDBServer(rw io.ReadWriter) *GDBServer

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

type Process

type Process struct {
	// contains filtered or unexported fields
}

func NewProcess

func NewProcess(udid string, args, env []string) (*Process, error)

func (*Process) Args

func (p *Process) Args() []string

func (*Process) Continue

func (p *Process) Continue() error

func (*Process) Interrupt

func (p *Process) Interrupt() error

func (*Process) Kill

func (p *Process) Kill() error

func (*Process) Start

func (p *Process) Start() error

func (*Process) Stdout

func (p *Process) Stdout() io.Reader

func (*Process) WaitByName

func (p *Process) WaitByName(name string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL