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 条
  • [1] HR-TECS: Component Technology for Embedded Systems with Memory Protection
    Ishikawa, Takuya
    Azumi, Takuya
    Oyama, Hiroshi
    Takada, Hiroaki
    2013 IEEE 16TH INTERNATIONAL SYMPOSIUM ON OBJECT/COMPONENT/SERVICE-ORIENTED REAL-TIME DISTRIBUTED COMPUTING (ISORC), 2013,
  • [2] MolAR: Memory-Safe Library for Analysis of MD Simulations Written in Rust
    Yesylevskyy, Semen
    Journal of Computational Chemistry, 2025, 46 (01)
  • [3] Fyr: a memory-safe and thread-safe systems programming language
    Weis, Torben
    Waltereit, Marian
    Uphoff, Maximilian
    SAC '19: PROCEEDINGS OF THE 34TH ACM/SIGAPP SYMPOSIUM ON APPLIED COMPUTING, 2019, : 1574 - 1577
  • [4] Memory-Safe Elimination of Side Channels
    Soares, Luigi
    Quintan Pereira, Fernando Magno
    CGO '21: PROCEEDINGS OF THE 2021 IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO), 2021, : 200 - 210
  • [5] RTM-TECS: Collaboration Framework for Robot Technology Middleware and Embedded Component System
    Hasegawa, Ryo
    Yawata, Naofumi
    Ando, Noriaki
    Nishio, Nobuhiko
    Azumi, Takuya
    2016 IEEE 19TH INTERNATIONAL SYMPOSIUM ON REAL-TIME DISTRIBUTED COMPUTING (ISORC 2016), 2016, : 212 - 220
  • [6] Cuckoo: a language for implementing memory-safe and thread-safe system
    West, R
    Wong, GT
    PLC '05: PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGES AND COMPILERS, 2005, : 94 - 100
  • [7] RusTEE: Developing Memory-Safe ARM TrustZone Applications
    Wan, Shengye
    Sun, Mingshen
    Sun, Kun
    Zhang, Ning
    He, Xu
    36TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE (ACSAC 2020), 2020, : 442 - 453
  • [8] Development of Fast and Memory-Safe Operating System Kernel
    Komarov, Timofey
    Ivanov, Mikhail
    Chepik, Nadezhda
    Starikovskiy, Andrey
    PROCEEDINGS OF THE 2019 IEEE CONFERENCE OF RUSSIAN YOUNG RESEARCHERS IN ELECTRICAL AND ELECTRONIC ENGINEERING (EICONRUS), 2019, : 1852 - 1856
  • [9] Qinna: A component-based framework for runtime safe resource adaptation of embedded systems
    Gonnord, Laure
    Babau, Jean-Philippe
    Scalable Computing, 2009, 10 (03): : 253 - 264
  • [10] QINNA: A COMPONENT-BASED FRAMEWORK FOR RUNTIME SAFE RESOURCE ADAPTATION OF EMBEDDED SYSTEMS
    Gonnord, Laure
    Babau, Jean-Philippe
    SCALABLE COMPUTING-PRACTICE AND EXPERIENCE, 2009, 10 (03): : 253 - 264