Need help with libheap?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

cloudburst
463 Stars 89 Forks MIT License 146 Commits 1 Opened issues

Description

python library to examine ptmalloc (the glibc userland heap implementation)

Services available

!
?

Need anything else?

Contributors list

# 99,763
C
Shell
glibc
Go
110 commits
# 429,521
Shell
Haxe
OCaml
gdb
3 commits
# 502,297
Python
gdb
glibc
1 commit
# 484,388
Python
gdb
glibc
1 commit
# 10,138
C
radare2
binary-...
osx
1 commit
# 528,840
play-fr...
HTML
CSS
Shell
1 commit

Libheap

[

libheap
] is a python library to examine ptmalloc (the glibc userland heap implementation).

It is currently tested and known working on:

| glibc | distro | | --- | --- | | 2.15 | Ubuntu 12.04 LTS amd64 | | 2.19 | Ubuntu 14.04 LTS i386, Ubuntu 14.04 LTS amd64 | 2.23 | Ubuntu 16.04 LTS i386, Ubuntu 16.04 LTS amd64 | 2.24 | Fedora 25 x86_64, Ubuntu 16.10 amd64, Ubuntu 17.04 amd64 |

Installation

Please refer to the Install Guide.

Usage

Please refer to the User Guide.

Design

-----------------------------------------------------------------------
                       debugger frontend (commands and prettyprinters)
                                                      libheap/frontend

                 +-----+
                 |     |
                 | gdb |
                 |     |
                 +--+--+
                    |

------------------------+---------------------------------------------- | core logic (debugger-agnostic) | libheap/ptmalloc +----+-----+ | | | ptmalloc | | | +----+-----+ | ------------------------+---------------------------------------------- | debugger-dependent APIs | libheap/pydbg +--------------+-----+---------+-------------+ | | | | +--+---+ +------+------+ +----+----+ +----+---+ | | | | | | | | | lldb | | pygdbpython | | pygdbmi | | r2pipe | | TODO | | | | TODO | | TODO | | | | | | | | | +---+--+ +-------+-----+ +---+-----+ +----+---+ | | | | | | | +---------+ | | | | ----+--------------+-------------+----+-------------------------------- | | | | debugger-provided backend | | | +--+ | | +--------+ | +--+---+ +--+--+ | +------+-+ | | | | | | | | lldb | | gdb +-+ | ptrace | | | | | | | +------+ +-----+ +--------+


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.