├── .clang-format ├── .dockerignore ├── Dockerfile ├── README.md ├── artifact ├── README.md ├── build.sh ├── minimize.py ├── run.py └── secure-allocators │ ├── DieHarder-6cf204ec │ ├── .gitignore │ └── run.sh │ ├── FreeGuard-bfdf6d9a │ ├── .gitignore │ ├── libfreeguard.patch │ └── run.sh │ ├── Guarder-9e85978a │ ├── .gitignore │ ├── libguarder.patch │ └── run.sh │ ├── MarkUs-4c75ffd5 │ ├── .gitignore │ └── run.sh │ ├── README.md │ ├── SlimGuard-237d842a │ ├── .gitignore │ ├── libSlimGuard.patch │ └── run.sh │ ├── ffmalloc-9e1e5825 │ ├── .gitignore │ └── run.sh │ ├── hardened_malloc-5 │ ├── .gitignore │ └── run.sh │ ├── isoalloc-a683f427 │ ├── .gitignore │ └── run.sh │ ├── mallocng-2ed5881 │ ├── .gitignore │ └── run.sh │ ├── mimalloc-secure-1.7.0 │ ├── .gitignore │ └── run.sh │ └── scudo-11.0.0 │ ├── .gitignore │ └── run.sh ├── driver ├── .gitignore ├── CMakeLists.txt ├── child │ ├── CMakeLists.txt │ ├── api.c │ ├── api.h │ ├── array.c │ ├── array.h │ ├── heap_manager.c │ ├── heap_manager.h │ ├── main.c │ ├── utils.c │ └── utils.h ├── common │ ├── CMakeLists.txt │ ├── config.h │ ├── logging.c │ ├── logging.h │ ├── shared_memory.c │ ├── shared_memory.h │ ├── stream.c │ ├── stream.h │ ├── utils.c │ └── utils.h ├── minimize.py ├── minimize_all.py ├── modules │ ├── .gitignore │ ├── CMakeLists.txt │ ├── adjacent │ │ ├── CMakeLists.txt │ │ ├── child.c │ │ └── parent.cpp │ ├── archeap │ │ ├── CMakeLists.txt │ │ ├── child.c │ │ ├── parent.cpp │ │ └── test_driver.py │ ├── check_on_free │ │ ├── CMakeLists.txt │ │ ├── child.c │ │ └── parent.cpp │ ├── example │ │ ├── CMakeLists.txt │ │ ├── child.c │ │ └── parent.cpp │ ├── reclaim │ │ ├── CMakeLists.txt │ │ ├── child.c │ │ └── parent.cpp │ ├── sizecheck │ │ ├── CMakeLists.txt │ │ ├── child.c │ │ └── parent.cpp │ ├── spray │ │ ├── CMakeLists.txt │ │ ├── child.c │ │ └── parent.cpp │ └── uninitialized │ │ ├── CMakeLists.txt │ │ ├── child.c │ │ └── parent.cpp └── parent │ ├── CMakeLists.txt │ ├── api.cpp │ ├── api.h │ └── main.cpp ├── minimize.py ├── run.py ├── setup.sh └── tool ├── .gitignore └── afl.patch /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/.clang-format -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | /driver/build 2 | 3 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/README.md -------------------------------------------------------------------------------- /artifact/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/README.md -------------------------------------------------------------------------------- /artifact/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/build.sh -------------------------------------------------------------------------------- /artifact/minimize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/minimize.py -------------------------------------------------------------------------------- /artifact/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/run.py -------------------------------------------------------------------------------- /artifact/secure-allocators/DieHarder-6cf204ec/.gitignore: -------------------------------------------------------------------------------- 1 | /DieHard 2 | 3 | -------------------------------------------------------------------------------- /artifact/secure-allocators/DieHarder-6cf204ec/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/DieHarder-6cf204ec/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/FreeGuard-bfdf6d9a/.gitignore: -------------------------------------------------------------------------------- 1 | /FreeGuard 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/FreeGuard-bfdf6d9a/libfreeguard.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/FreeGuard-bfdf6d9a/libfreeguard.patch -------------------------------------------------------------------------------- /artifact/secure-allocators/FreeGuard-bfdf6d9a/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/FreeGuard-bfdf6d9a/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/Guarder-9e85978a/.gitignore: -------------------------------------------------------------------------------- 1 | /Guarder 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/Guarder-9e85978a/libguarder.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/Guarder-9e85978a/libguarder.patch -------------------------------------------------------------------------------- /artifact/secure-allocators/Guarder-9e85978a/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/Guarder-9e85978a/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/MarkUs-4c75ffd5/.gitignore: -------------------------------------------------------------------------------- 1 | /MarkUs-sp2020 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/MarkUs-4c75ffd5/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/MarkUs-4c75ffd5/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/README.md -------------------------------------------------------------------------------- /artifact/secure-allocators/SlimGuard-237d842a/.gitignore: -------------------------------------------------------------------------------- 1 | /SlimGuard 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/SlimGuard-237d842a/libSlimGuard.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/SlimGuard-237d842a/libSlimGuard.patch -------------------------------------------------------------------------------- /artifact/secure-allocators/SlimGuard-237d842a/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/SlimGuard-237d842a/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/ffmalloc-9e1e5825/.gitignore: -------------------------------------------------------------------------------- 1 | /ffmalloc 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/ffmalloc-9e1e5825/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/ffmalloc-9e1e5825/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/hardened_malloc-5/.gitignore: -------------------------------------------------------------------------------- 1 | /hardened_malloc 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/hardened_malloc-5/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/hardened_malloc-5/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/isoalloc-a683f427/.gitignore: -------------------------------------------------------------------------------- 1 | /isoalloc 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/isoalloc-a683f427/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/isoalloc-a683f427/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/mallocng-2ed5881/.gitignore: -------------------------------------------------------------------------------- 1 | /mallocng-draft 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/mallocng-2ed5881/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/mallocng-2ed5881/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/mimalloc-secure-1.7.0/.gitignore: -------------------------------------------------------------------------------- 1 | /mimalloc 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/mimalloc-secure-1.7.0/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/mimalloc-secure-1.7.0/run.sh -------------------------------------------------------------------------------- /artifact/secure-allocators/scudo-11.0.0/.gitignore: -------------------------------------------------------------------------------- 1 | /clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-16.04* 2 | -------------------------------------------------------------------------------- /artifact/secure-allocators/scudo-11.0.0/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/artifact/secure-allocators/scudo-11.0.0/run.sh -------------------------------------------------------------------------------- /driver/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/.gitignore -------------------------------------------------------------------------------- /driver/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/CMakeLists.txt -------------------------------------------------------------------------------- /driver/child/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/CMakeLists.txt -------------------------------------------------------------------------------- /driver/child/api.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/api.c -------------------------------------------------------------------------------- /driver/child/api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/api.h -------------------------------------------------------------------------------- /driver/child/array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/array.c -------------------------------------------------------------------------------- /driver/child/array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/array.h -------------------------------------------------------------------------------- /driver/child/heap_manager.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/heap_manager.c -------------------------------------------------------------------------------- /driver/child/heap_manager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/heap_manager.h -------------------------------------------------------------------------------- /driver/child/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/main.c -------------------------------------------------------------------------------- /driver/child/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/utils.c -------------------------------------------------------------------------------- /driver/child/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/child/utils.h -------------------------------------------------------------------------------- /driver/common/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/CMakeLists.txt -------------------------------------------------------------------------------- /driver/common/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/config.h -------------------------------------------------------------------------------- /driver/common/logging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/logging.c -------------------------------------------------------------------------------- /driver/common/logging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/logging.h -------------------------------------------------------------------------------- /driver/common/shared_memory.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/shared_memory.c -------------------------------------------------------------------------------- /driver/common/shared_memory.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/shared_memory.h -------------------------------------------------------------------------------- /driver/common/stream.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/stream.c -------------------------------------------------------------------------------- /driver/common/stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/stream.h -------------------------------------------------------------------------------- /driver/common/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/utils.c -------------------------------------------------------------------------------- /driver/common/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/common/utils.h -------------------------------------------------------------------------------- /driver/minimize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/minimize.py -------------------------------------------------------------------------------- /driver/minimize_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/minimize_all.py -------------------------------------------------------------------------------- /driver/modules/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/.gitignore -------------------------------------------------------------------------------- /driver/modules/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/adjacent/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/adjacent/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/adjacent/child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/adjacent/child.c -------------------------------------------------------------------------------- /driver/modules/adjacent/parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/adjacent/parent.cpp -------------------------------------------------------------------------------- /driver/modules/archeap/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/archeap/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/archeap/child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/archeap/child.c -------------------------------------------------------------------------------- /driver/modules/archeap/parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/archeap/parent.cpp -------------------------------------------------------------------------------- /driver/modules/archeap/test_driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/archeap/test_driver.py -------------------------------------------------------------------------------- /driver/modules/check_on_free/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/check_on_free/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/check_on_free/child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/check_on_free/child.c -------------------------------------------------------------------------------- /driver/modules/check_on_free/parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/check_on_free/parent.cpp -------------------------------------------------------------------------------- /driver/modules/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/example/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/example/child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/example/child.c -------------------------------------------------------------------------------- /driver/modules/example/parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/example/parent.cpp -------------------------------------------------------------------------------- /driver/modules/reclaim/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/reclaim/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/reclaim/child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/reclaim/child.c -------------------------------------------------------------------------------- /driver/modules/reclaim/parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/reclaim/parent.cpp -------------------------------------------------------------------------------- /driver/modules/sizecheck/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/sizecheck/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/sizecheck/child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/sizecheck/child.c -------------------------------------------------------------------------------- /driver/modules/sizecheck/parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/sizecheck/parent.cpp -------------------------------------------------------------------------------- /driver/modules/spray/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/spray/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/spray/child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/spray/child.c -------------------------------------------------------------------------------- /driver/modules/spray/parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/spray/parent.cpp -------------------------------------------------------------------------------- /driver/modules/uninitialized/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/uninitialized/CMakeLists.txt -------------------------------------------------------------------------------- /driver/modules/uninitialized/child.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/uninitialized/child.c -------------------------------------------------------------------------------- /driver/modules/uninitialized/parent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/modules/uninitialized/parent.cpp -------------------------------------------------------------------------------- /driver/parent/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/parent/CMakeLists.txt -------------------------------------------------------------------------------- /driver/parent/api.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/parent/api.cpp -------------------------------------------------------------------------------- /driver/parent/api.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/parent/api.h -------------------------------------------------------------------------------- /driver/parent/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/driver/parent/main.cpp -------------------------------------------------------------------------------- /minimize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/minimize.py -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/run.py -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/setup.sh -------------------------------------------------------------------------------- /tool/.gitignore: -------------------------------------------------------------------------------- 1 | afl-2.52b 2 | -------------------------------------------------------------------------------- /tool/afl.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaist-hacking/HardsHeap/HEAD/tool/afl.patch --------------------------------------------------------------------------------