跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:1701.00630 (cs)
[提交于 2017年1月9日]

标题:Source Code Verification for Embedded Systems using Prolog

作者:Frank Flederer, Ludwig Ostermayer, Dietmar Seipel, Sergio Montenegro
查看论文《Source Code Verification for Embedded Systems using Prolog》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:System relevant embedded software needs to be reliable and, therefore, well tested, especially for aerospace systems. A common technique to verify programs is the analysis of their abstract syntax tree (AST). Tree structures can be elegantly analyzed with the logic programming language Prolog. Moreover, Prolog offers further advantages for a thorough analysis: On the one hand, it natively provides versatile options to efficiently process tree or graph data structures. On the other hand, Prolog's non-determinism and backtracking eases tests of different variations of the program flow without big effort. A rule-based approach with Prolog allows to characterize the verification goals in a concise and declarative way. In this paper, we describe our approach to verify the source code of a flash file system with the help of Prolog. The flash file system is written in C++ and has been developed particularly for the use in satellites. We transform a given abstract syntax tree of C++ source code into Prolog facts and derive the call graph and the execution sequence (tree), which then are further tested against verification goals. The different program flow branching due to control structures is derived by backtracking as subtrees of the full execution sequence. Finally, these subtrees are verified in Prolog. We illustrate our approach with a case study, where we search for incorrect applications of semaphores in embedded software using the real-time operating system RODOS. We rely on computation tree logic (CTL) and have designed an embedded domain specific language (DSL) in Prolog to express the verification goals.
评论: In Proceedings WLP'15/'16/WFLP'16, arXiv:1701.00148
主题: 软件工程 (cs.SE); 计算机科学中的逻辑 (cs.LO); 程序设计语言 (cs.PL)
引用方式: arXiv:1701.00630 [cs.SE]
  (或者 arXiv:1701.00630v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1701.00630
期刊参考: EPTCS 234, 2017, pp. 88-103
相关 DOI: https://doi.org/10.4204/EPTCS.234.7

提交历史

来自:EPTCS
[v1] 2017年1月9日 星期一 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2017-01
切换浏览方式为:
cs
cs.LO
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站