Configurable memory protection by aspects

  • Authors:
  • Daniel Lohmann;Jochen Streicher;Wanja Hofer;Olaf Spinczyk;Wolfgang Schröder-Preikschat

  • Affiliations:
  • Friedrich-Alexander University Erlangen-Nuremberg;Friedrich-Alexander University Erlangen-Nuremberg;Friedrich-Alexander University Erlangen-Nuremberg;Friedrich-Alexander University Erlangen-Nuremberg;Friedrich-Alexander University Erlangen-Nuremberg

  • Venue:
  • Proceedings of the 4th workshop on Programming languages and operating systems
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe the implementation of memory protection by means of aspect-oriented programming (AOP) in CiAO, an AUTOSAR-like family of embedded operating systems. The use of AOP was originally motivated by the fact that memory protection is a cross-cutting policy, which, furthermore, has to be configurable at build-time in AUTOSAR. We learned, however, that besides switching between full protection and no protection, an AOP-based approach also makes it easy to apply completely different models of protection. For the domain of statically configured embedded systems, where certain failure scenarios can often be excluded by means of code analysis or even probability, this facilitates tailored and light-weight "pay-as-you-use" protection strategies.