Lune

DAC2024Top-tier venue

Look Before You Access: Efficient Heap Memory Safety for Embedded Systems on ARMv8-M

Jeonghwan Kang, Jaeyeol Park, Jiwon Seo, Donghyun Kwon

2024Year
1Citations

Abstract

Numerous embedded systems utilize firmware written in memory-unsafe C/C++. So, the firmware may exhibit spatial memory vulnerabilities, such as buffer overflows, which, if exploited by an attacker, can lead to various software attacks. While several studies have proposed defenses against these memory vulnerabilities, they often introduce significant performance and memory overhead or are impractical for application in embedded systems. In this paper, we introduce micro-fat pointer, a novel solution for heap memory safety for embedded systems. Notably, micro-fat pointer leverages TT instructions newly introduced in ARMv8-M to implement an efficient bounds-checking mechanism. Our evaluation results demonstrate that micro-fat pointer exhibits a 41% performance improvement compared to the existing state-of-the-art heap memory safety solution.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get abe5d9e4-d195-47f0-b8e6-2310867ef920

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines