Answers are grounded in this paper and cite their sources.
Capability machines provide security guarantees at machine level which makes them an interesting target for secure compilation schemes that provably enforce properties such as control-flow correctness and encapsulation of local state. We provide a formalization of a representative capability machine with local capabilities and study a novel calling convention. We provide a logical relation that semantically captures the guarantees provided by the hardware (a form of capability safety) and use it to prove control-flow correctness and encapsulation of local state. The logical relation is not specific to our calling convention and can be used to reason about arbitrary programs.
No takes yet. Share an insight, caveat, or question.
Skorstengaard et al. (2019) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: