Year: 2012
Type: book-chapter
Abstract: . Policy frameworks provide a technique for improving reuse in program analysis: the same language frontend, and a core analysis semantics, can be shared among multiple analysis policies for the same language, while analysis domains (such as units of measurement) can be shared among frameworks for different languages. One limitation of policy frameworks is that, in practice, adding a new policy can still require a significant level of knowledge about the internals of the semantics definition. This abstract describes work on extending policy frameworks to solve this limitation, making policies reflective over their requirements and generating the policy semantics from a higher-level policy description language. Using executable language definitions, such as rewriting logic semantics [9] (RLS) or K [11] definitions running in Maude [4], program analysis can be treated as a form of non-standard program evaluation over appropriate domains of abstract values. An example of this approach is the unit safety analysis developed first for BC [3] (a small values were units of measurement [1] (e.g., meters, seconds, lumens). The analysis
Author: Mark Hills
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W2267916304
