Memory safety based on probabilistic memory allocation

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

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

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.

Original languageEnglish
Pages (from-to)115-122
Number of pages8
JournalChina Communications
Volume9
Issue number4
Publication statusPublished - Apr 2012

Keywords

  • Memory allocation
  • Memory errors
  • Probabilistic
  • Software security

Fingerprint

Dive into the research topics of 'Memory safety based on probabilistic memory allocation'. Together they form a unique fingerprint.

Cite this