SafePM: a sanitizer for persistent memory


연구 분야: Verification



학회: EuroSys '22: Proceedings of the Seventeenth European Conference on Computer Systems


초록

Memory safety violation is a major root cause of reliability and security issues in software systems. Byte-addressable persistent memory (PM), just like its volatile counterpart, is also susceptible to memory safety violations. While there is a couple of decades of work in ensuring memory safety for programs based on volatile memory, the existing approaches are incompatible for PM since the PM programming model introduces a persistent pointer representation for persistent memory objects and allocators, where it is imperative to design a crash consistent safety mechanism. We introduce SafePM, a memory safety mechanism that transparently and comprehensively detects both spatial and temporal memory safety violations for PM-based applications. SafePM's design builds on a shadow memory approach, and augments it with crash consistent data structures and system operations to ensure memory safety even across system reboots and crashes. We implement SafePM based on the AddressSanitizer compiler pass, and integrate it with the PM development kit (PMDK) runtime library. We evaluate SafePM across three dimensions: overheads, effectiveness, and crash consistency. SafePM overall incurs reasonable overheads while providing comprehensive memory safety, and has uncovered real-world bugs in the widely-used PMDK library.


Author Profile
Kartal Kaan Bozdoğan

Technical University of Munich

정보 없음
Author Profile
Dimitrios Stavrakakis

Technical University of Munich & University of Edinburgh

정보 없음
Author Profile
Shady Issa

Technical University of Munich

정보 없음

📄 논문 정보

발행 연도 2022년
인용수 6
출판 국가
사이트 ACM
좋아요 수 0

연관 논문 목록 (3건)