TECS/Rust: Memory-safe Component Framework for Embedded Systems

被引:0
|
作者
Yoshimura, Nao [1 ]
Oyama, Hiroshi [2 ]
Azumi, Takuya [1 ]
机构
[1] Saitama Univ, Grad Sch Sci & Engn, Saitama, Japan
[2] OKUMA Corp, Oguchi, Japan
关键词
embedded systems; component-based development; real-time operating systems; memory safety; Rust;
D O I
10.1109/ISORC61049.2024.10551370
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
As embedded systems grow in complexity and scale due to increased functional diversity, component-based development (CBD) emerges as a solution to streamline their architecture and enhance functionality reuse. CBD typically utilizes the C programming language for its direct hardware access and low-level operations, despite its susceptibility to memory-related issues. To address these concerns, this paper proposes TOPPERS Embedded Component Systems/Rust (TECS/Rust), a Rust-based framework specifically designed for TECS, which is a component framework for embedded systems. It leverages Rust's compiletime memory-safe features, such as lifetime and borrowing, to mitigate memory vulnerabilities common with C. The proposed framework not only ensures memory safety but also maintains the flexibility of CBD, automates Rust code generation for CBD components, and supports efficient integration with real-time operating systems. An evaluation of the amount of generated code indicates that the code generated by this paper framework accounts for a large percentage of the actual code. Compared to code developed without the proposed framework, the difference in execution time is minimal, indicating that the overhead introduced by the proposed framework is negligible.
引用
收藏
页数:11
相关论文
共 50 条
  • [41] A Component Development Framework for Embedded Software
    Yuan, Cangzhou
    Liu, Zhao
    Wang, Xiaowei
    Yuan, Fayou
    2021 IEEE INTERNATIONAL CONFERENCE ON INFORMATION COMMUNICATION AND SOFTWARE ENGINEERING (ICICSE 2021), 2021, : 71 - 75
  • [42] CREAM: A Generic Build-time Component Framework for Distributed Embedded Systems
    Raj, Chetan
    Park, Jiyong
    Park, Jungkeun
    Hong, Seongsoo
    RTCSA 2008: 14TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS - PROCEEDINGS, 2008, : 318 - +
  • [43] An extensible autonomous reconfiguration framework for complex component-based embedded systems
    Schlatow, Johannes
    Moestl, Mischa
    Ernst, Rolf
    2015 IEEE INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING, 2015, : 239 - 242
  • [44] Overview of Embedded Rust Operating Systems and Frameworks
    Vandervelden, Thibaut
    De Smet, Ruben
    Deac, Diana
    Steenhaut, Kris
    Braeken, An
    SENSORS, 2024, 24 (17)
  • [45] Towards Memory Safe Enclave Programming with Rust-SGX
    Wang, Huibo
    Wang, Pei
    Ding, Yu
    Sun, Mingshen
    Jing, Yiming
    Duan, Ran
    Li, Long
    Zhang, Yulong
    Wei, Tao
    Lin, Zhigiang
    PROCEEDINGS OF THE 2019 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'19), 2019, : 2333 - 2350
  • [46] Runtime Component Information on Embedded Component Systems
    Shirata, Seito
    Oyama, Hiroshi
    Azumi, Takuya
    2018 IEEE 16TH INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (EUC 2018), 2018, : 166 - 173
  • [47] A Component Framework for Java']Java-Based Real-Time Embedded Systems
    Plsek, Ales
    Loiret, Frederic
    Merle, Philippe
    Seinturier, Lionel
    MIDDLEWARE 2008, PROCEEDINGS, 2008, 5346 : 124 - 143
  • [48] Panic Recovery in Rust-based Embedded Systems
    Ma, Zhiyao
    Chen, Guojun
    Zhong, Lin
    PROCEEDINGS OF THE 12TH WORKSHOP ON PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, PLOS 2023, 2023, : 66 - 73
  • [49] Memory protection in embedded systems
    Lopriore, Lanfranco
    JOURNAL OF SYSTEMS ARCHITECTURE, 2016, 63 : 61 - 69
  • [50] A Holistic Framework for Embedded Safe and Connected Automation in Vehicles
    Dimitrakopoulos, G.
    Zographos, T.
    Bravos, G.
    PROCEEDINGS 2015 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2015, : 1364 - 1371