ATLAS Offline Software
Loading...
Searching...
No Matches
python.sheap.SHeap Class Reference
Inheritance diagram for python.sheap.SHeap:
Collaboration diagram for python.sheap.SHeap:

Public Member Functions

 __init__ (self)
 invoke (self, arg, from_tty)

Detailed Description

Dump out malloc heap in a range of addresses, showed allocated/free blocks.

sheap START-ADDR [END-ADDR]
will dump out free and allocated malloc blocks within the given address
range.  If not given, END-ADDR is taken to be 1024 bytes after START-ADDR.

Caveats: It is not possible to reliably identify allocated memory blocks.
         Dumping will start at the first free block found within
         the given range, if any.

         This only works with the GNU libc malloc, not with any
         alternative allocators (tcmalloc, etc).

Definition at line 75 of file sheap.py.

Constructor & Destructor Documentation

◆ __init__()

python.sheap.SHeap.__init__ ( self)

Definition at line 89 of file sheap.py.

89 def __init__ (self):
90 super (SHeap, self).__init__ ("sheap", gdb.COMMAND_DATA)
91 return
92

Member Function Documentation

◆ invoke()

python.sheap.SHeap.invoke ( self,
arg,
from_tty )

Definition at line 93 of file sheap.py.

93 def invoke (self, arg, from_tty):
94 return sheap (arg, False)
95
96

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