【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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号