首页 | 本学科首页   官方微博 | 高级检索  
     检索      

一种利用内存保护技术实现程序踩内存的检测方法
引用本文:莫建麟.一种利用内存保护技术实现程序踩内存的检测方法[J].科学技术与工程,2012,12(25):6495-6497,6502.
作者姓名:莫建麟
作者单位:阿坝师范高等专科学校
基金项目:国家自然科学基金:多通道检测软件优化法研究(6127083)
摘    要:提出了一种程序踩内存的检测方法。利用内存保护技术,在应用程序申请内存后根据情况将其所申请的内存页面属性设置为只读。如果应用程序发生不当的内存访问,将极有可能踩到属性为只读的内存页面,从而引发内存访问冲突异常。提示发现程序踩内存事件并准确定位错误代码。通过进行针对性的维护操作,达到优化程序、提高软件可靠性和安全性的目的。

关 键 词:踩内存  内存保护  异常
收稿时间:2012/5/17 0:00:00
修稿时间:2012/5/17 0:00:00

Detection method for memory corruption based on memory protection technology
mojianlin.Detection method for memory corruption based on memory protection technology[J].Science Technology and Engineering,2012,12(25):6495-6497,6502.
Authors:mojianlin
Institution:Zhe3(Department of Electronic Information,Aba Teachers College1,Wenchuan 623002,P.R.China; Tianfu College of SWUFE,Mianyang 621000,P.R.China;Southwest University3,Chongqing 400715,P.R.China)
Abstract:A kind of detection method for memory corruption based on memory protection technology is introduced.Depending on the circumstances,some memory pages read-only are seted.When a process attempt to write access a memory address which belongs to a page whose permissions are read-only with the requested-results in an access violation exception.So this event and accurately locate can be found the error code.Through targeted maintenance operations,the purposes of optimization program is reached and improved the reliability and security of software.
Keywords:memory corruption memory protection abnormal
本文献已被 CNKI 等数据库收录!
点击此处可从《科学技术与工程》浏览原始摘要信息
点击此处可从《科学技术与工程》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号