MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / field

Method field

Tools/gdb/libpython.py:127–159  ·  view source on GitHub ↗

Get the gdb.Value for the given field within the PyObject, coping with some python 2 versus python 3 differences. Various libpython types are defined using the "PyObject_HEAD" and "PyObject_VAR_HEAD" macros. In Python 2, this these are defined so that "ob_t

(self, name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

pyop_fieldMethod · 0.95
typeMethod · 0.95
safe_tp_nameMethod · 0.80
subclass_from_typeMethod · 0.80
_PyObject_VAR_SIZEFunction · 0.80
get_attr_dictMethod · 0.80
proxyvalMethod · 0.80
proxyvalMethod · 0.80
addr2lineMethod · 0.80
iteritemsMethod · 0.80
proxyvalMethod · 0.80
__getitem__Method · 0.80

Calls 4

is_nullMethod · 0.95
NullPyObjectPtrClass · 0.85
castMethod · 0.80
get_gdb_typeMethod · 0.80

Tested by

no test coverage detected