Capability Safe Reflection for the Wyvern Language
Title | Capability Safe Reflection for the Wyvern Language |
Publication Type | Conference Proceedings |
Year of Publication | 2016 |
Authors | Esther Wang, Jonathan Aldrich |
Conference Name | SPLASH 2016 |
Series Title | Workshop on Meta-Programming Techniques and Reflection (META) |
Date Published | 10/2016 |
Conference Location | Amsterdam, Netherlands |
Keywords | capability safety, CMU, Jan'17, mirrors, reflection, Wyvern |
Abstract | Reflection allows a program to examine and even modify itself, but its power can also lead to violations of encapsulation and even security vulnerabilities. The Wyvern language leverages static types for encapsulation and provides security through an object capability model. We present a design for reflection in Wyvern which respects capability safety and type-based encapsulation. This is accomplished through a mirror-based design, with the addition of a mechanism to constrain the visible type of a reflected object. In this way, we ensure that the programmer cannot use reflection to violate basic encapsulation and security guarantees. |
Citation Key | node-31395 |
Attachment | Size |
---|---|
bytes |
Groups: