A run-time detector for violated memory access in embedded systems

Anh-Vu Dinh-Duc, Nam Ho
{"title":"A run-time detector for violated memory access in embedded systems","authors":"Anh-Vu Dinh-Duc, Nam Ho","doi":"10.1109/MESA.2010.5552065","DOIUrl":null,"url":null,"abstract":"Recently, application in embedded systems has increasingly become complex. This requires having tools to prevent or detect memory corruption errors during the software development process. Unfortunately, most of embedded processors lack to be equipped a MMU (Memory Management Units), one of hardware components supporting memory protection mechanism in general purpose computer system, because MMU-based memory protection methods cause embedded system incurred hardware cost and performance penalty. In this paper, an off-chip model is proposed to detect violated memory accesses at run-time without incurring hardware cost. It can efficiently detect errors for RTOS-based applications in cases of stack overflow, reading/writing to code/data segments of the other tasks or violated memory access to OS kernel. The hardware component based on FPGA is also built by hooking on memory system bus to monitor memory accesses. Once error detection phase is completed, the hardware prototype can be detached from the system. Some testbeds are used for this model and give good results.","PeriodicalId":406358,"journal":{"name":"Proceedings of 2010 IEEE/ASME International Conference on Mechatronic and Embedded Systems and Applications","volume":"66 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of 2010 IEEE/ASME International Conference on Mechatronic and Embedded Systems and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MESA.2010.5552065","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Recently, application in embedded systems has increasingly become complex. This requires having tools to prevent or detect memory corruption errors during the software development process. Unfortunately, most of embedded processors lack to be equipped a MMU (Memory Management Units), one of hardware components supporting memory protection mechanism in general purpose computer system, because MMU-based memory protection methods cause embedded system incurred hardware cost and performance penalty. In this paper, an off-chip model is proposed to detect violated memory accesses at run-time without incurring hardware cost. It can efficiently detect errors for RTOS-based applications in cases of stack overflow, reading/writing to code/data segments of the other tasks or violated memory access to OS kernel. The hardware component based on FPGA is also built by hooking on memory system bus to monitor memory accesses. Once error detection phase is completed, the hardware prototype can be detached from the system. Some testbeds are used for this model and give good results.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
嵌入式系统中违反内存访问的运行时检测器
近年来,嵌入式系统中的应用越来越复杂。这需要在软件开发过程中使用工具来防止或检测内存损坏错误。然而,由于基于MMU的内存保护方法会导致嵌入式系统产生硬件成本和性能损失,大多数嵌入式处理器都没有配备MMU (Memory Management Units),这是通用计算机系统中支持内存保护机制的硬件组件之一。本文提出了一种芯片外模型,在不增加硬件成本的情况下,在运行时检测违反的内存访问。它可以有效地检测基于rtos的应用程序在堆栈溢出、读写其他任务的代码/数据段或违反对操作系统内核的内存访问的情况下的错误。基于FPGA的硬件组件通过挂接存储系统总线实现对内存访问的监控。一旦错误检测阶段完成,硬件原型就可以从系统中分离出来。对该模型进行了试验,取得了良好的效果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
On distributed order low-pass filter Key technologies of pre-processing and post-processing methods for embedded automatic speech recognition systems A two-stage calibration method for low-cost UAV attitude estimation using infrared sensor Motion planning for multi-link robots using Artificial Potential Fields and modified Simulated Annealing An autonomic mobile agent-based system for distributed job shop scheduling
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1