Memory errors prevention technology for C/C++ program based on probability

Jingfeng Xue*, Changzhen Hu, Hongyu Ren, Rui Ma, Jian Li

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Citation (Scopus)

Abstract

Applications written in unsafe languages like C and C++ are vulnerable to memory errors such as buffer overflows and dangling pointers. Such errors can lead to program crashes, security vulnerabilities, and unpredictable behavior. Aiming at the problem, PSC, a new probabilistic safeguard C, is proposed in this paper. At the basis of Diehard, memory allocating strategy is improved in PSC. PSC can avoid memory errors in all probability during software executing by combing random memory allocating algorithm and virtual memory. Physical memory consumption is decreased by building hot object space working set and compressing non frequently used objects. Experiments show PSC is better than Diehard for memory errors prevention and physical memory consumption. So it is a valid memory errors prevention technology based on probability.

Original languageEnglish
Title of host publicationNLP-KE 2011 - Proceedings of the 7th International Conference on Natural Language Processing and Knowledge Engineering
Pages233-237
Number of pages5
DOIs
Publication statusPublished - 2011
Externally publishedYes
Event7th International Conference on Natural Language Processing and Knowledge Engineering, NLP-KE 2011 - Tokushima, Japan
Duration: 27 Nov 201129 Nov 2011

Publication series

NameNLP-KE 2011 - Proceedings of the 7th International Conference on Natural Language Processing and Knowledge Engineering

Conference

Conference7th International Conference on Natural Language Processing and Knowledge Engineering, NLP-KE 2011
Country/TerritoryJapan
CityTokushima
Period27/11/1129/11/11

Keywords

  • C/C++ program
  • Memory errors
  • Probabilistic
  • Software security

Fingerprint

Dive into the research topics of 'Memory errors prevention technology for C/C++ program based on probability'. Together they form a unique fingerprint.

Cite this