嵌入式系统中违反内存访问的运行时检测器

Anh-Vu Dinh-Duc, Nam Ho
{"title":"嵌入式系统中违反内存访问的运行时检测器","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":"{\"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}","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

摘要

近年来,嵌入式系统中的应用越来越复杂。这需要在软件开发过程中使用工具来防止或检测内存损坏错误。然而,由于基于MMU的内存保护方法会导致嵌入式系统产生硬件成本和性能损失,大多数嵌入式处理器都没有配备MMU (Memory Management Units),这是通用计算机系统中支持内存保护机制的硬件组件之一。本文提出了一种芯片外模型,在不增加硬件成本的情况下,在运行时检测违反的内存访问。它可以有效地检测基于rtos的应用程序在堆栈溢出、读写其他任务的代码/数据段或违反对操作系统内核的内存访问的情况下的错误。基于FPGA的硬件组件通过挂接存储系统总线实现对内存访问的监控。一旦错误检测阶段完成,硬件原型就可以从系统中分离出来。对该模型进行了试验,取得了良好的效果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A run-time detector for violated memory access in embedded systems
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信