miasm
Reverse engineering framework
miasm.analysis.gdbserver.GdbServer Class Reference
Inheritance diagram for miasm.analysis.gdbserver.GdbServer:
Collaboration diagram for miasm.analysis.gdbserver.GdbServer:

Public Member Functions

def __init__ (self, dbg, port=4455)
 
def compute_checksum (self, data)
 
def get_messages (self)
 
def parse_messages (self, data)
 
def send_string (self, s)
 
def process_messages (self)
 
def send_messages (self)
 
def main_loop (self)
 
def run (self)
 
def report_general_register_values (self)
 
def read_register (self, reg_num)
 
def set_register (self, reg_num, value)
 
def read_register_by_name (self, reg_name)
 
def read_memory (self, addr, size)
 

Public Attributes

 server
 
 dbg
 
 send_queue
 
 sock
 
 status
 
 recv_queue
 
 address
 

Static Public Attributes

list general_registers_order = []
 
dictionary general_registers_size = {}
 
string status = b"S05"
 

Constructor & Destructor Documentation

◆ __init__()

def miasm.analysis.gdbserver.GdbServer.__init__ (   self,
  dbg,
  port = 4455 
)

Member Function Documentation

◆ compute_checksum()

def miasm.analysis.gdbserver.GdbServer.compute_checksum (   self,
  data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_messages()

def miasm.analysis.gdbserver.GdbServer.get_messages (   self)
Here is the call graph for this function:

◆ main_loop()

def miasm.analysis.gdbserver.GdbServer.main_loop (   self)

◆ parse_messages()

def miasm.analysis.gdbserver.GdbServer.parse_messages (   self,
  data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_messages()

def miasm.analysis.gdbserver.GdbServer.process_messages (   self)
Here is the call graph for this function:

◆ read_memory()

def miasm.analysis.gdbserver.GdbServer.read_memory (   self,
  addr,
  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_register()

def miasm.analysis.gdbserver.GdbServer.read_register (   self,
  reg_num 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_register_by_name()

def miasm.analysis.gdbserver.GdbServer.read_register_by_name (   self,
  reg_name 
)

Reimplemented in miasm.analysis.gdbserver.GdbServer_msp430, and miasm.analysis.gdbserver.GdbServer_x86_32.

Here is the caller graph for this function:

◆ report_general_register_values()

def miasm.analysis.gdbserver.GdbServer.report_general_register_values (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

def miasm.analysis.gdbserver.GdbServer.run (   self)
Here is the caller graph for this function:

◆ send_messages()

def miasm.analysis.gdbserver.GdbServer.send_messages (   self)
Here is the call graph for this function:

◆ send_string()

def miasm.analysis.gdbserver.GdbServer.send_string (   self,
  s 
)
Here is the call graph for this function:

◆ set_register()

def miasm.analysis.gdbserver.GdbServer.set_register (   self,
  reg_num,
  value 
)
Here is the caller graph for this function:

Member Data Documentation

◆ address

miasm.analysis.gdbserver.GdbServer.address

◆ dbg

miasm.analysis.gdbserver.GdbServer.dbg

◆ general_registers_order

list miasm.analysis.gdbserver.GdbServer.general_registers_order = []
static

◆ general_registers_size

dictionary miasm.analysis.gdbserver.GdbServer.general_registers_size = {}
static

◆ recv_queue

miasm.analysis.gdbserver.GdbServer.recv_queue

◆ send_queue

miasm.analysis.gdbserver.GdbServer.send_queue

◆ server

miasm.analysis.gdbserver.GdbServer.server

◆ sock

miasm.analysis.gdbserver.GdbServer.sock

◆ status [1/2]

string miasm.analysis.gdbserver.GdbServer.status = b"S05"
static

◆ status [2/2]

miasm.analysis.gdbserver.GdbServer.status

The documentation for this class was generated from the following file: