TY - GEN
T1 - Memory errors prevention technology for C/C++ program based on probability
AU - Xue, Jingfeng
AU - Hu, Changzhen
AU - Ren, Hongyu
AU - Ma, Rui
AU - Li, Jian
PY - 2011
Y1 - 2011
N2 - 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.
AB - 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.
KW - C/C++ program
KW - Memory errors
KW - Probabilistic
KW - Software security
UR - http://www.scopus.com/inward/record.url?scp=84863139048&partnerID=8YFLogxK
U2 - 10.1109/NLPKE.2011.6138200
DO - 10.1109/NLPKE.2011.6138200
M3 - Conference contribution
AN - SCOPUS:84863139048
SN - 9781612847283
T3 - NLP-KE 2011 - Proceedings of the 7th International Conference on Natural Language Processing and Knowledge Engineering
SP - 233
EP - 237
BT - NLP-KE 2011 - Proceedings of the 7th International Conference on Natural Language Processing and Knowledge Engineering
T2 - 7th International Conference on Natural Language Processing and Knowledge Engineering, NLP-KE 2011
Y2 - 27 November 2011 through 29 November 2011
ER -