作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (20): 44-46. doi: 10.3969/j.issn.1000-3428.2009.20.015

• 软件技术与数据库 • 上一篇    下一篇

嵌入式软件动态内存检测工具的设计与实现

刘发贵1,温宇龙2,罗春威1   

  1. (1. 华南理工大学计算机科学与工程学院,广州 510006;2. 华南理工大学软件工程学院,广州 510006)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-10-20 发布日期:2009-10-20

Design and Implementation of Dynamic Memory Detection Tool for Embedded Software

LIU Fa-gui1, WEN Yu-long2, LUO Chun-wei1   

  1. (1. School of Computer Science and Engineering, South China University of Technology, Guangzhou 510006;2. School of Software Engineering, South China University of Technology, Guangzhou 510006)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-10-20 Published:2009-10-20

摘要: 针对嵌入式软件中的内存泄露、内存写溢出等问题,提出嵌入式Linux 平台下数据采集和测试分离的交叉测试方法,设计实现一个嵌入式软件动态内存的检测工具。该工具可以检测软件的内存泄露、内存写溢出、释放野指针和内存管理函数不匹配等问题,通过一个实例验证其有效性和可靠性。

关键词: 动态内存检测, 嵌入式软件, 内存泄露, 交叉测试, 可靠性

Abstract: Aiming at the problems of memory leakage and memory overflow in embedded software, this paper proposes a cross-test method on embedded Linux platform, in which data collection and test are separated to improve the test efficiency. A dynamic memory detection tool is implemented, which can be used to detect memory leakage, memory overflow and mismatch of memory manage function. An instance is presented to show the effectiveness and reliability of the tool.

Key words: dynamic memory detection, embedded software, memory leakage, cross-test, reliability

中图分类号: