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

DSP程序异常的高效检测方法
引用本文:曹廷.DSP程序异常的高效检测方法[J].单片机与嵌入式系统应用,2022,22(3):49-51.
作者姓名:曹廷
作者单位:成都天奥信息科技有限公司,成都610000
摘    要:由于嵌入式系统日趋复杂,程序的复杂程度也与日俱增,这导致程序异常跳转、数组越界、堆栈溢出等异常现象时有发生,但编译器以及专业的静态代码扫描工具无法发现此类问题。程序运行时一旦发生此类异常,往往会导致系统死机等严重故障,系统死机后,留给开发人员的有用信息一般很少,常常需要花很多时间及精力才能查出导致程序异常的具体原因,因此,开发一种高效的程序异常检测手段就显得十分必要。利用DSP软件编译器的插桩功能,可完整记录程序异常前的运行轨迹数据,通过分析这些轨迹数据可重建程序异常前的运行轨迹,利用这些信息,开发人员可高效地查出程序异常的具体原因。

关 键 词:DSP  C语言  程序异常检测  程序运行轨迹追踪

Method of DSP Program Exception Efficient Detection
Cao Ting.Method of DSP Program Exception Efficient Detection[J].Microcontrollers & Embedded Systems,2022,22(3):49-51.
Authors:Cao Ting
Affiliation:(Chengdu Spaceon Information and Technology Co.,Ltd.,Chengdu 610000,China)
Abstract:As the embedded systems become more and more complex,the complexity of the program is also increasing.This leads to program exceptions jump,array out of bounds,stack overflow and other exceptions occur.Compilers and professional static code scanning tools cannot detect such problems.When these program exceptions occur,often lead to system crashes and other serious fault,after the system crash,rarely useful information leave to the developers.Developers often need to spend a lot of time and make great efforts to find out the reason of the system crash.Therefore,to develop a highly efficient program exceptions detection method seems very necessary.In this paper,using the hook function of DSP software compiler,the program can completely record the running trace data before the system crash.After analysis the trace data,developers can reconstruct the the program running trace.Using these information,developers can quickly find out the reason of the system crash.
Keywords:DSP  C language  program exception detection  program trace
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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