GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | membuf_object |
Functions | |
PyTypeObject membuf_object_type | CPYCHECKER_TYPE_OBJECT_FOR_TYPEDEF ("membuf_object") |
PyObject * | gdbpy_buffer_to_membuf (gdb::unique_xmalloc_ptr< gdb_byte > buffer, CORE_ADDR address, ULONGEST length) |
static void | mbpy_dealloc (PyObject *self) |
static PyObject * | mbpy_str (PyObject *self) |
static int | get_buffer (PyObject *self, Py_buffer *buf, int flags) |
static int CPYCHECKER_NEGATIVE_RESULT_SETS_EXCEPTION | gdbpy_initialize_membuf (void) |
GDBPY_INITIALIZE_FILE (gdbpy_initialize_membuf) | |
Variables | |
static PyBufferProcs | buffer_procs |
PyTypeObject | membuf_object_type |
|
extern |
PyObject * gdbpy_buffer_to_membuf | ( | gdb::unique_xmalloc_ptr< gdb_byte > | buffer, |
CORE_ADDR | address, | ||
ULONGEST | length ) |
Definition at line 44 of file py-membuf.c.
References membuf_object_type.
Referenced by disasmpy_info_read_memory(), and infpy_read_memory().
GDBPY_INITIALIZE_FILE | ( | gdbpy_initialize_membuf | ) |
|
static |
Definition at line 103 of file py-membuf.c.
References gdb_module, gdb_pymodule_addobject(), and membuf_object_type.
|
static |
Definition at line 84 of file py-membuf.c.
References membuf_object::buffer, and membuf_object::length.
|
static |
Definition at line 63 of file py-membuf.c.
References xfree().
Definition at line 72 of file py-membuf.c.
References membuf_object::addr, gdbpy_enter::get_gdbarch(), membuf_object::length, and paddress().
|
static |
Definition at line 117 of file py-membuf.c.
PyTypeObject membuf_object_type |
Definition at line 122 of file py-membuf.c.
Referenced by gdbpy_buffer_to_membuf(), and gdbpy_initialize_membuf().