├── .gitignore ├── LICENSE ├── README.md ├── Summercon-2016.pdf ├── data └── libsystem_malloc.i64 ├── dot-lldbinit ├── README.md ├── example-lldbinit.local ├── lldbinit └── lldbinit.py ├── lib ├── macheap.py └── ptypes │ ├── __init__.py │ ├── bitmap.py │ ├── config.py │ ├── dynamic.py │ ├── error.py │ ├── parray.py │ ├── pbinary.py │ ├── pfloat.py │ ├── pint.py │ ├── provider.py │ ├── pstr.py │ ├── pstruct.py │ ├── ptype.py │ └── utils.py ├── lldbinit.local ├── requirements.txt ├── scripts ├── debug-safari.sh ├── load.py ├── malloc_free.py └── onemag.py └── test ├── Makefile ├── Makefile.all ├── Makefile.dep ├── Makefile.obj ├── cache-test.c ├── core-migration.c ├── core-stable.c ├── core-test.c ├── free-list-test.c ├── new-region.c ├── overflow.c ├── predict.c ├── region-cache.c ├── region-free-coalesce.c ├── region-free.c ├── small-slot-multi-frag.c ├── small-slot-multi.c ├── small-slot-single.c ├── timeslice-blocking.c ├── timeslice-nonblocking.c ├── tiny-slot-metafree.c ├── tiny-slot-multi-frag.c ├── tiny-slot-multi.c └── tiny-slot-single.c /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.o 3 | *.dSYM 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/README.md -------------------------------------------------------------------------------- /Summercon-2016.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/Summercon-2016.pdf -------------------------------------------------------------------------------- /data/libsystem_malloc.i64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/data/libsystem_malloc.i64 -------------------------------------------------------------------------------- /dot-lldbinit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/dot-lldbinit/README.md -------------------------------------------------------------------------------- /dot-lldbinit/example-lldbinit.local: -------------------------------------------------------------------------------- 1 | script __lldbinit__.Options.syntax = "intel" 2 | -------------------------------------------------------------------------------- /dot-lldbinit/lldbinit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/dot-lldbinit/lldbinit -------------------------------------------------------------------------------- /dot-lldbinit/lldbinit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/dot-lldbinit/lldbinit.py -------------------------------------------------------------------------------- /lib/macheap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/macheap.py -------------------------------------------------------------------------------- /lib/ptypes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/__init__.py -------------------------------------------------------------------------------- /lib/ptypes/bitmap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/bitmap.py -------------------------------------------------------------------------------- /lib/ptypes/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/config.py -------------------------------------------------------------------------------- /lib/ptypes/dynamic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/dynamic.py -------------------------------------------------------------------------------- /lib/ptypes/error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/error.py -------------------------------------------------------------------------------- /lib/ptypes/parray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/parray.py -------------------------------------------------------------------------------- /lib/ptypes/pbinary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/pbinary.py -------------------------------------------------------------------------------- /lib/ptypes/pfloat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/pfloat.py -------------------------------------------------------------------------------- /lib/ptypes/pint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/pint.py -------------------------------------------------------------------------------- /lib/ptypes/provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/provider.py -------------------------------------------------------------------------------- /lib/ptypes/pstr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/pstr.py -------------------------------------------------------------------------------- /lib/ptypes/pstruct.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/pstruct.py -------------------------------------------------------------------------------- /lib/ptypes/ptype.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/ptype.py -------------------------------------------------------------------------------- /lib/ptypes/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lib/ptypes/utils.py -------------------------------------------------------------------------------- /lldbinit.local: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/lldbinit.local -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | pyparsing==2.1.5 2 | six==1.9.0 3 | -------------------------------------------------------------------------------- /scripts/debug-safari.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/scripts/debug-safari.sh -------------------------------------------------------------------------------- /scripts/load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/scripts/load.py -------------------------------------------------------------------------------- /scripts/malloc_free.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/scripts/malloc_free.py -------------------------------------------------------------------------------- /scripts/onemag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/scripts/onemag.py -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/Makefile -------------------------------------------------------------------------------- /test/Makefile.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/Makefile.all -------------------------------------------------------------------------------- /test/Makefile.dep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/Makefile.dep -------------------------------------------------------------------------------- /test/Makefile.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/Makefile.obj -------------------------------------------------------------------------------- /test/cache-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/cache-test.c -------------------------------------------------------------------------------- /test/core-migration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/core-migration.c -------------------------------------------------------------------------------- /test/core-stable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/core-stable.c -------------------------------------------------------------------------------- /test/core-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/core-test.c -------------------------------------------------------------------------------- /test/free-list-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/free-list-test.c -------------------------------------------------------------------------------- /test/new-region.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/new-region.c -------------------------------------------------------------------------------- /test/overflow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/overflow.c -------------------------------------------------------------------------------- /test/predict.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/predict.c -------------------------------------------------------------------------------- /test/region-cache.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/region-cache.c -------------------------------------------------------------------------------- /test/region-free-coalesce.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/region-free-coalesce.c -------------------------------------------------------------------------------- /test/region-free.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/region-free.c -------------------------------------------------------------------------------- /test/small-slot-multi-frag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/small-slot-multi-frag.c -------------------------------------------------------------------------------- /test/small-slot-multi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/small-slot-multi.c -------------------------------------------------------------------------------- /test/small-slot-single.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/small-slot-single.c -------------------------------------------------------------------------------- /test/timeslice-blocking.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/timeslice-blocking.c -------------------------------------------------------------------------------- /test/timeslice-nonblocking.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/timeslice-nonblocking.c -------------------------------------------------------------------------------- /test/tiny-slot-metafree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/tiny-slot-metafree.c -------------------------------------------------------------------------------- /test/tiny-slot-multi-frag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/tiny-slot-multi-frag.c -------------------------------------------------------------------------------- /test/tiny-slot-multi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/tiny-slot-multi.c -------------------------------------------------------------------------------- /test/tiny-slot-single.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blankwall/MacHeap/HEAD/test/tiny-slot-single.c --------------------------------------------------------------------------------