FRAMER: A Software-based Capability Model
Myoung Jin Nam, Periklis Akritidis, David J Greaves

TL;DR
FRAMER introduces a software-based capability model for fine-grained memory protection in C/C++ that efficiently manages object metadata, improving performance and compatibility without altering object memory layout.
Contribution
It presents a novel object metadata management technique that balances tag bits and supplementary tables, enhancing memory safety and efficiency without layout changes.
Findings
Reduces metadata lookup overheads
Increases locality of reference by embedding metadata
Saves space by avoiding unnecessary padding
Abstract
Fine-grained memory protection for C and C++ programs must track individual objects (or pointers), and store bounds information per object (pointer). Its cost is dominated by metadata updates and lookups, making efficient metadata management the key for minimizing performance impact. Existing approaches reduce metadata management overheads by sacrificing precision, breaking binary compatibility by changing object memory layout, or wasting space by excessive alignment or large shadow memory spaces. We propose FRAMER, a software capability model for object-granularity memory protection. Its efficient per-object metadata management mechanism enables direct access to metadata by calculating their location from a tagged pointer to the object and, for large objects, a compact supplementary table. The number of bits in this tag and the size of the supplementary table are balanced to minimize…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Parallel Computing and Optimization Techniques
