期刊文献+

一种基于Qt的系统内存泄漏检测方法 被引量:1

A Memory Leakage Detection Method for Software System Based on Qt
下载PDF
导出
摘要 在软件开发中,用户界面程序提高了软件系统易操作性、用户体验度等非功能性需求。长时间、复杂流程的大型软件系统对人机界面的稳定性则提出了较高要求,不能出现内存泄漏、不能中途异常退出。针对使用图形用户界面应用程序框架Qt开发的用户界面程序的内存泄漏问题,提出了一种基于Qt的人机界面程序的源码静态内存检测方法。该方法针对Qt控件对象是否存在父控件的两种内存泄漏情况,识别所需检查的目标对象是否为Qt控件类对象,是否存在内存泄漏。该方法提供的Qt控件对象内存检测能力可准确识别目标对象是否存在内存泄漏、手工删除错误等问题,便于开发人员及时检查错误,修正缺陷,减少程序运行中的内存泄漏问题,以满足大型系统的软件质量需求。 In software development, the user interface program improves the non-functional requirements of software system, such as easy operation,user experience and so on. The large-scale training system of long-term and complex process gives the higher requirements to the stability of human-computer interface,no memory leak,no halfway abnormal exit. Aiming at the memory leakage of the user interface program developed by graphical user interface application framework Qt,a source static memory detection method of Qt-based human- computer interface program is presented. There are two types of memory leaks for the Qt control object for the parent control. The method identifies whether the target object to be checked is a Qt control class object, and whether there is a memory leak. The memory detection of Qt control object provided by this method can accurately identify whether the target object has a memory leak and manually remove the faults, which makes it easy for the developers to check the errors and correct the defects in time, and to reduce the program running in the memory leakage, meeting the functional requirements of large-scale aviation training system.
出处 《计算机技术与发展》 2017年第12期119-123,127,共6页 Computer Technology and Development
基金 中国民航创新基金项目(MHRD20150228)
关键词 QT 内存泄漏 遍历匹配 泄漏检测 Qt memory leakage traversal matching leak detection
  • 相关文献

参考文献6

二级参考文献17

  • 1储岳中,张绍德.基于VisualC++的高速数据采集及其应用[J].工业控制计算机,2004,17(11):58-59. 被引量:7
  • 2陈雪冬,刘汉湖,杨武年.基于VB开发ArcInfo功能原理和方法的探讨[J].物探化探计算技术,2004,26(4):355-358. 被引量:6
  • 3左婷.Visual Basic三种数据访问接口的比较[J].吉林师范大学学报(自然科学版),2004,25(4):72-73. 被引量:3
  • 4龚沛曾.VisualBasic程序设计教程[M].北京:高等教育出版社,2000..
  • 5Jonas Maebe,Michiel Ronsse,Koen De Bosschere. Precise detection of memory leaks[C].In:Proceedings of the Second International Workshop on Dynamic Analysis,2004-05:25~31.
  • 6N Nethercote ,J Seward. Valgrind:a program supervison framework[C].In:O Sokolsky,M Viswanathan eds. Electronic Notes in Theoretical Computer Science ,Elsevier, 2003; 89.
  • 7Kernighan,Brian W,Ritchie. The C Programming Language[M].Englewood Cliffs,N J,Prentice-Hall, 1978.
  • 8Samuel P Harbison Ⅲ,Guy L Steele Jr.C A Reference Manual[M].Fifth Edition, Prentice Hall, Pearson Education Inc, 2002.
  • 9Thomas Ball.The concept of dynamic analysis[C].In:Proceedings of the Seventh European Software Engineering Conference/Seventh ACM SIGSOFT Symposium on the Foundations of Software Engineering,Springer-Verlag, 1999-09: 216~234.
  • 10Jonathan et al ed. Proceedings of the Second International Workshop on Dynamic Analysis,2004-05.

共引文献18

同被引文献4

引证文献1

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部