Memory safety based on probabilistic memory allocation

Jingfeng Xue*, Changzhen Hu, Xiaojing Guo, Bingxin Leng, Rui Ma

*此作品的通讯作者

科研成果: 期刊稿件文章同行评审

摘要

Some unsafe languages, like C and C++, let programmers maximize performance but are vulnerable to memory errors which can lead to program crashes and unpredictable behavior. Aiming to solve the problem, traditional memory allocating strategy is improved and a new probabilistic memory allocation technology is presented. By combining random memory allocating algorithm and virtual memory, memory errors are avoided in all probability during software executing. By replacing default memory allocator to manage allocation of heap memory, buffer overflows and dangling pointers are prevented. Experiments show it is better than Diehard of the following aspects: memory errors prevention, perform-ance in memory allocation set and ability of controlling working set. So probabilistic memory allocation is a valid memory errors prevention technology and it can tolerate memory errors and provide probabilistic memory safety effectively.

源语言英语
页(从-至)115-122
页数8
期刊China Communications
9
4
出版状态已出版 - 4月 2012

指纹

探究 'Memory safety based on probabilistic memory allocation' 的科研主题。它们共同构成独一无二的指纹。

引用此