A Comprehensive and Cross-Platform Test Suite for Memory Safety -- Towards an Open Framework for Testing Processor Hardware Supported Security Extensions
Wei Song, Jiameng Ying, Sihao Shen, Boya Li, Hao Ma, Peng Liu

TL;DR
This paper introduces an open, expandable framework and initial test suite for evaluating memory safety and processor security extensions across multiple hardware platforms, addressing a gap in comprehensive testing tools.
Contribution
It presents a flexible, cross-platform test framework and a memory safety test suite with 160 cases, enabling systematic evaluation of hardware-supported security features.
Findings
Test suite covers spatial and temporal memory safety, access control, and integrity.
Ported to three ISAs and six platforms, demonstrating portability.
Used to assess security benefits of compiler flag configurations.
Abstract
Memory safety remains a critical and widely violated property in reality. Numerous defense techniques have been proposed and developed but most of them are not applied or enabled by default in production-ready environment due to their substantial running cost. The situation might change in the near future because the hardware supported defenses against these attacks are finally beginning to be adopted by commercial processors, operating systems and compilers. We then face a question as there is currently no suitable test suite to measure the memory safety extensions supported on different processors. In fact, the issue is not constrained only for memory safety but all aspect of processor security. All of the existing test suites related to processor security lack some of the key properties, such as comprehensiveness, distinguishability and portability. As an initial step, we propose…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Cloud Data Security Solutions · Radiation Effects in Electronics
