【24h】

Formal Synthesis of Optimal RTOS

机译:正式合成最佳RTOS

获取原文

摘要

The adaptation of an operating system to an application is often needed to optimize the embedded code. Adaptation consists in removing the unneeded operating systems services and the dead code according to applications requirements. The resulting stripped operating system is smaller, safer and has better performance. This adaptation is usually done by hand for each application. As a result some dead code may remain unnoticed. The verification and the certification of the adapted operating system is difficult too: for each adaptation to an application, the certification must be redone and for the verification, a new model has to be designed with the well known gap problem between the model and the actual software. In this paper, we present a new approach based on formal methods to synthesize an Application-Specific Real-Time Operating System. Instead of removing services from the source code of an existing operating system, a formal model is used. All the functions of the operating system with the full control flow and control variables are modeled. According to an application model, unneeded services and part of control flow are removed from the model by using a reachability analysis. This guarantees no dead code remains. Moreover some properties may be checked on the pruned model to ensure the application behaves as expected. At last, the corresponding source code is generated from the model.
机译:通常需要操作系统对应用程序的适应来优化嵌入式代码。适应包括根据应用要求删除不需要的操作系统服务和死路代码。由此产生的剥离操作系统较小,更安全,具有更好的性能。这种适应通常用手为每个应用程序完成。结果,一些死者可能会被忽视。调整操作系统的验证和认证也很困难:对于每个适应应用,必须重做认证并进行验证,该模型必须使用模型和实际之间的众所周知的差距问题设计软件。在本文中,我们提出了一种基于形式方法的新方法来综合应用特定的实时操作系统。使用正式模型而不是从现有操作系统的源代码中删除服务。具有完整控制流程和控制变量的操作系统的所有功能都是为模拟的。根据应用模型,通过使用可达性分析,从模型中取出不需要的服务和一部分控制流程。这保证了没有死的代码。此外,可以在修剪模型上检查一些属性,以确保应用程序的行为正常。最后,相应的源代码是从模型生成的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号