├── .gitignore ├── LICENSE ├── README.md ├── docs ├── DevelopmentGuide.md ├── InstallGuide.md ├── SupportedVersions.md └── UserGuide.md ├── heap.png ├── libptmalloc ├── __init__.py ├── frontend │ ├── __init__.py │ ├── commands │ │ ├── __init__.py │ │ └── gdb │ │ │ ├── __init__.py │ │ │ ├── ptarena.py │ │ │ ├── ptbin.py │ │ │ ├── ptchunk.py │ │ │ ├── ptcmd.py │ │ │ ├── ptconfig.py │ │ │ ├── ptfast.py │ │ │ ├── ptfree.py │ │ │ ├── pthelp.py │ │ │ ├── ptlist.py │ │ │ ├── ptmeta.py │ │ │ ├── ptparam.py │ │ │ ├── ptstats.py │ │ │ └── pttcache.py │ ├── frontend_gdb.py │ ├── helpers.py │ └── printutils.py ├── libptmalloc.cfg ├── logger.py ├── ptmalloc │ ├── __init__.py │ ├── cache.py │ ├── heap_structure.py │ ├── malloc_chunk.py │ ├── malloc_par.py │ ├── malloc_state.py │ ├── ptmalloc.py │ └── tcache_perthread.py ├── pydbg │ ├── __init__.py │ ├── debugger.py │ └── pygdbpython.py └── pyptmalloc.py ├── pyptmalloc-dev.py ├── reload.sh ├── requirements.txt ├── setup.py └── test ├── Makefile ├── debug.gdb ├── debug.sh ├── doc.gdb ├── doc.py ├── doc.sh ├── doc2.gdb ├── generate_bins.py ├── sizes.c ├── test.c ├── test.gdb ├── test.py ├── test.sh └── test2.gdb /.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | __pycache__ 3 | test/build/* 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/README.md -------------------------------------------------------------------------------- /docs/DevelopmentGuide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/docs/DevelopmentGuide.md -------------------------------------------------------------------------------- /docs/InstallGuide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/docs/InstallGuide.md -------------------------------------------------------------------------------- /docs/SupportedVersions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/docs/SupportedVersions.md -------------------------------------------------------------------------------- /docs/UserGuide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/docs/UserGuide.md -------------------------------------------------------------------------------- /heap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/heap.png -------------------------------------------------------------------------------- /libptmalloc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/__init__.py -------------------------------------------------------------------------------- /libptmalloc/frontend/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/__init__.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptarena.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptarena.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptbin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptbin.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptchunk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptchunk.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptcmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptcmd.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptconfig.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptconfig.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptfast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptfast.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptfree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptfree.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/pthelp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/pthelp.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptlist.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptmeta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptmeta.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptparam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptparam.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/ptstats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/ptstats.py -------------------------------------------------------------------------------- /libptmalloc/frontend/commands/gdb/pttcache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/commands/gdb/pttcache.py -------------------------------------------------------------------------------- /libptmalloc/frontend/frontend_gdb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/frontend_gdb.py -------------------------------------------------------------------------------- /libptmalloc/frontend/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/helpers.py -------------------------------------------------------------------------------- /libptmalloc/frontend/printutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/frontend/printutils.py -------------------------------------------------------------------------------- /libptmalloc/libptmalloc.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/libptmalloc.cfg -------------------------------------------------------------------------------- /libptmalloc/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/logger.py -------------------------------------------------------------------------------- /libptmalloc/ptmalloc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/ptmalloc/__init__.py -------------------------------------------------------------------------------- /libptmalloc/ptmalloc/cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/ptmalloc/cache.py -------------------------------------------------------------------------------- /libptmalloc/ptmalloc/heap_structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/ptmalloc/heap_structure.py -------------------------------------------------------------------------------- /libptmalloc/ptmalloc/malloc_chunk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/ptmalloc/malloc_chunk.py -------------------------------------------------------------------------------- /libptmalloc/ptmalloc/malloc_par.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/ptmalloc/malloc_par.py -------------------------------------------------------------------------------- /libptmalloc/ptmalloc/malloc_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/ptmalloc/malloc_state.py -------------------------------------------------------------------------------- /libptmalloc/ptmalloc/ptmalloc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/ptmalloc/ptmalloc.py -------------------------------------------------------------------------------- /libptmalloc/ptmalloc/tcache_perthread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/ptmalloc/tcache_perthread.py -------------------------------------------------------------------------------- /libptmalloc/pydbg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libptmalloc/pydbg/debugger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/pydbg/debugger.py -------------------------------------------------------------------------------- /libptmalloc/pydbg/pygdbpython.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/pydbg/pygdbpython.py -------------------------------------------------------------------------------- /libptmalloc/pyptmalloc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/libptmalloc/pyptmalloc.py -------------------------------------------------------------------------------- /pyptmalloc-dev.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/pyptmalloc-dev.py -------------------------------------------------------------------------------- /reload.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/reload.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | hexdump==3.3 2 | gdb==0.0.1 3 | future-fstrings==1.2.0 4 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/setup.py -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/Makefile -------------------------------------------------------------------------------- /test/debug.gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/debug.gdb -------------------------------------------------------------------------------- /test/debug.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/debug.sh -------------------------------------------------------------------------------- /test/doc.gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/doc.gdb -------------------------------------------------------------------------------- /test/doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/doc.py -------------------------------------------------------------------------------- /test/doc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/doc.sh -------------------------------------------------------------------------------- /test/doc2.gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/doc2.gdb -------------------------------------------------------------------------------- /test/generate_bins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/generate_bins.py -------------------------------------------------------------------------------- /test/sizes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/sizes.c -------------------------------------------------------------------------------- /test/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/test.c -------------------------------------------------------------------------------- /test/test.gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/test.gdb -------------------------------------------------------------------------------- /test/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/test.py -------------------------------------------------------------------------------- /test/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/test.sh -------------------------------------------------------------------------------- /test/test2.gdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nccgroup/libptmalloc/HEAD/test/test2.gdb --------------------------------------------------------------------------------