摘要
本文介绍了一种利用调试软件Valgrind进行嵌入式应用程序错误查找的技术,利用它可以高效、自动地查找出程序中的多种错误。首先介绍了嵌入式程序常见错误,接着研究了Valgrind的工作原理,最后介绍了利用Valgrind进行程序错误检测的步骤和应用实例。
In this paper, a technology to detect the errors of program by using Valgrind is introduced. Many errors of program can be found automatically and efficiently with the help of Valgrind. Firstly, some familiar errors of embedded program are introduced. Secondly the principle of Vatgrind is studied. Finally the steps of using Valgrind to avoid errors are brought forward.
出处
《微计算机信息》
2009年第5期58-59,244,共3页
Control & Automation
基金
<面向起升和运输设备的嵌入式安全监控系统的研究与开发>
上海市科委科技攻关计划基金项目(04DZ15011)
<面向谐波检测的嵌入式系统的研究与开发>
浙江省科技攻关计划基金项目(2006C21018)