Abstract
In PLT Scheme, programs consist of modules with contracts. The latter describe the inputs and outputs of functions and objects via predicates. A run-time system enforces these predicates; if a predicate fails, the enforcer raises an exception that blames a specific module with an explanation of the fault. In this paper, we show how to use such module contracts to turn set-based analysis into a fully modular parameterized analysis. Using this analysis, a static debugger can indicate for any given contract check whether the corresponding predicate is always satisfied, partially satisfied, or (potentially) completely violated. The static debugger can also predict the source of potential errors, i.e., it is sound with respect to the blame assignment of the contract system.
| Original language | English |
|---|---|
| Pages (from-to) | 218-231 |
| Number of pages | 14 |
| Journal | SIGPLAN Notices (ACM Special Interest Group on Programming Languages) |
| Volume | 41 |
| Issue number | 1 |
| DOIs | |
| State | Published - 2006 |
Keywords
- Modular Analysis
- Runtime Contracts
- Set-based Analysis
- Static Debugging
Fingerprint
Dive into the research topics of 'Modular set-based analysis from contracts'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver