Module pychrysalide.debug

Documentation

Python module for Chrysalide.debug

Classes

Class BinaryDebugger

PyChrysalide loaded binary

Hierarchy

builtins.object
 ╰── gi._gobject.GObject
      ╰── pychrysalide.debug.BinaryDebugger

Methods

add_mem_bp(self, addr)

Insert a memory breakpoint at a given address.

delete_mem_bp(self, addr)

Remove a memory breakpoint at a given address.

get_call_stack(self)

Get the current call stack.

get_reg_names(self, grp)

Get the names of all registers belonging to an optional group.

get_reg_size(self, name)

Get the size of a given register.

list_all_threads(self)

List all current active threads.

read_mem_u16(self, addr)

Read a 16-bit value from a given address.

read_mem_u32(self, addr)

Read a 32-bit value from a given address.

read_mem_u64(self, addr)

Read a 64-bit value from a given address.

read_mem_u8(self, addr)

Read a 8-bit value from a given address.

read_reg_u16(self, reg)

Read a 16-bit value from a named register.

read_reg_u32(self, reg)

Read a 32-bit value from a named register.

read_reg_u64(self, reg)

Read a 64-bit value from a named register.

read_reg_u8(self, reg)

Read a 8-bit value from a named register.

restart(self)

Restart the current debugging session.

resume(self)

Resume the current debugging session.

stepi(self)

Execute one machine instruction, then stop and return to the debugger.

write_reg_u16(self, reg, val)

Write a 16-bit value into a named register.

write_reg_u32(self, reg, val)

Write a 32-bit value into a named register.

write_reg_u64(self, reg, val)

Write a 64-bit value into a named register.

write_reg_u8(self, reg, val)

Write a 8-bit value into a named register.