【24h】

Integer Range Analysis for Whiley on Embedded Systems

机译:嵌入式系统Whiley的整数范围分析

获取原文
获取原文并翻译 | 示例

摘要

Programs written in the Whiley programming language are verified at compile-time to ensure all function specifications are met. The purpose of doing this is to eliminate as many software bugs as possible and, thus, Whiley is ideally suited for use in safety-critical systems. The language was designed from scratch to simplify verification as much as possible. To that end, arithmetic types in Whiley consist of unbounded integers and rationals and this poses a problem for use in memory constrained embedded devices. However, function specifications in Whiley provide a rich source of information from which finite bounds for integer variables can be determined. In this paper, we present a technique for range analysis of integer variables in Whiley. Previous work is typically based on dataflow analysis which requires a fixed-point computation and necessitates the use of imprecise widenings to ensure termination. However, the presence of loop and data type invariants in Whiley means that loops can be handled quickly and precisely.
机译:用Whiley编程语言编写的程序在编译时经过验证,以确保满足所有功能规范。这样做的目的是消除尽可能多的软件错误,因此Whiley非常适合用于安全关键型系统。该语言从头开始设计,以尽可能简化验证。为此,Whiley中的算术类型由无界的整数和有理数组成,这给在内存受限的嵌入式设备中使用带来了问题。但是,Whiley中的函数规范提供了丰富的信息源,从中可以确定整数变量的有限范围。在本文中,我们提出了一种在Whiley中对整数变量进行范围分析的技术。先前的工作通常基于数据流分析,该分析需要定点计算,并且有必要使用不精确的扩展来确保终止。但是,尽管Whiley中存在循环和数据类型不变式,这意味着可以快速而准确地处理循环。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号