A Trustworthy Framework for Resource-Aware Embedded Programming

被引:1
|
作者
Barwell, Adam D. [1 ]
Brown, Christopher [1 ]
机构
[1] Univ St Andrews, St Andrews, Fife, Scotland
基金
英国工程与自然科学研究理事会;
关键词
Dependent Types; Idris; Lightweight Verification; Non-Functional Properties; Embedded Systems; ABSTRACT INTERPRETATION; VERIFICATION;
D O I
10.1145/3412932.3412944
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Systems with non-functional requirements, such as Energy, Time and Security (ETS), are of increasing importance due to the proliferation of embedded devices with limited resources such as drones, wireless sensors, and tablet computers. Currently, however, there are little to no programmer supported methodologies or frameworks to allow them to reason about ETS properties in their source code. Drive is one such existing framework supporting the developer by lifting non-functional properties to the source-level through the Contract Specification Language (CSL), allowing non-functional properties to be first-class citizens, and supporting programmerwritten code-level contracts to guarantee the non-functional specifications of the program are met. In this paper, we extend the Drive system by providing rigorous implementations of the underlying proof-engine, modeling the specification of the annotations and assertions from CSL for a representative subset of C, called Imp. We define both an improved abstract interpretation that automatically derives proofs of assertions, and define inference algorithms for the derivation of both abstract interpretations and the context over which the interpretation is indexed. We use the dependentlytyped programming language, Idris, to give a formal definition, and implementation, of our abstract interpretation. Finally, we show our well-formed abstract interpretation over some representative exemplars demonstrating provable assertions of ETS.
引用
收藏
页数:12
相关论文
共 50 条
  • [41] A gambling approach to scalable resource-aware streaming
    Allani, Mouna
    Garbinato, Benoit
    Pedone, Fernando
    Stamenkovic, Marij A.
    [J]. SRDS 2007: 26TH IEEE INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS, PROCEEDINGS, 2007, : 288 - +
  • [42] Resource-Aware Data Parallel Array Processing
    Clemens Grelck
    Cédric Blom
    [J]. International Journal of Parallel Programming, 2020, 48 : 652 - 674
  • [43] Resource-Aware Optimization of FPGA OpenCL Kernels
    Al-Zoubi, Ahmad
    Fey, Goerschwin
    Tatas, Konstantinos
    [J]. 2021 7TH INTERNATIONAL CONFERENCE ON ENGINEERING AND EMERGING TECHNOLOGIES (ICEET 2021), 2021, : 43 - 48
  • [44] Resource-Aware Adaptive Scheduling for MapReduce Clusters
    Polo, Jorda
    Castillo, Claris
    Carrera, David
    Becerra, Yolanda
    Whalley, Ian
    Steinder, Malgorzata
    Torres, Jordi
    Ayguade, Eduard
    [J]. MIDDLEWARE 2011, 2011, 7049 : 187 - +
  • [45] Ubiquitous Resource-Aware Clustering of Data Streams
    Chao, Ching-Ming
    Chao, Guan-Lin
    [J]. ENTERPRISE INFORMATION SYSTEMS, ICEIS 2011, 2012, 102 : 81 - 97
  • [46] Resource-Aware Data Parallel Array Processing
    Grelck, Clemens
    Blom, Cedric
    [J]. INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2020, 48 (04) : 652 - 674
  • [47] Resource-Aware Session Types for Digital Contracts
    Das, Ankush
    Balzer, Stephanie
    Hoffmann, Jan
    Pfenning, Frank
    Santurkar, Ishani
    [J]. 2021 IEEE 34TH COMPUTER SECURITY FOUNDATIONS SYMPOSIUM (CSF 2021), 2021, : 109 - 124
  • [48] A Resource-aware Simulation Tool for Business Processes
    Cartelli, Vincenzo
    Di Modica, Giuseppe
    Tomarchio, Orazio
    [J]. 2014 11TH INTERNATIONAL CONFERENCE ON E-BUSINESS (ICE-B), 2014, : 123 - 133
  • [49] Resource-Aware Control and Dynamic Scheduling in CPS
    Heemels, W. P. M. H.
    [J]. CYBER PHYSICAL SYSTEMS: DESIGN, MODELING, AND EVALUATION, CYPHY 2015, 2015, 9361 : 1 - 7
  • [50] Resource-aware construct design in mammalian cells
    Di Blasi, Roberto
    Pisani, Mara
    Tedeschi, Fabiana
    Marbiah, Masue M.
    Polizzi, Karen
    Furini, Simone
    Siciliano, Velia
    Ceroni, Francesca
    [J]. NATURE COMMUNICATIONS, 2023, 14 (01)