Dynamic memory management requires special attention in programming. It should be fast and secure at the same time. This paper proposes a new randomized dynamic memory management algorithm designed to meet these requirements. Randomization is a key feature intended to protect applications from "use-after-free" or similar attacks. At the same time, the state in the algorithm consists only of one pointer, so it does not consume extra memory for itself. However, our algorithm is not a universal solution. It does not solve the memory fragmentation problem and it needs further development and testing.
@article{arxiv.2108.10779,
title = {Randomized C/C++ dynamic memory allocator},
author = {Irina Aleksandrovna Astrakhantseva and Roman Gennadevich Astrakhantsev and Arseny Viktorovich Mitin},
journal= {arXiv preprint arXiv:2108.10779},
year = {2021}
}
Comments
Journal of Physics: Conference Series, Volume 2001, International Scientific and Practical Conference "Information Technologies and Intelligent Decision Making Systems (ITIDMS-II 2021) 1 July 2021, Moscow, Russia