Abstract | ||
---|---|---|
Many software properties can be analysed through a relational size analysis on each function's inputs and outputs. Such relational analysis (through a form of dependent typing) has been successfully applied to declarative programs, and to restricted imperative programs; but it has been elusive for object-based programs. The main challenge is that objects may mutate and they may be aliased. In this paper, we show how safety policies of programs can be analysed by tracking size properties of objects and be enforced by objects' invariants and the preconditions of methods. We propose several new ideas to allow both mutability and sharing of objects, whilst aiming for precision in our analysis. We introduce the concept of size-immutability to facilitate sharing, and also a set of alias controls to track unaliased objects whose size properties may change. We formalise our results through a set of advanced type checking rules for an object-based imperative language. We re-affirm the utility of the proposed type system by showing how a variety of software properties can be automatically verified according to size-inspired safety policies. |
Year | DOI | Venue |
---|---|---|
2005 | 10.1109/ICSE.2005.1553561 | ICSE |
Keywords | Field | DocType |
verifying safety policy,object-based program,safety policy,advanced type checking rule,type checking,size property,safety policies verification,proposed type system,object-based imperative language,type theory,systems analysis,relational analysis,object-oriented programming,restricted imperative program,alias control,relational size analysis,software verification,program verification,software property,security of data,logic,software engineering,object oriented programming,automatic control,type system,computer science,data structures,declarative programming,dependent types | Data structure,Alias,Programming language,Object-oriented programming,Computer science,Type theory,Imperative programming,Theoretical computer science,Software,Dependent type,Software verification | Conference |
ISSN | ISBN | Citations |
0270-5257 | 1-59593-963-2 | 18 |
PageRank | References | Authors |
1.35 | 26 | 5 |
Name | Order | Citations | PageRank |
---|---|---|---|
Wei-Ngan Chin | 1 | 868 | 63.37 |
Siau-cheng Khoo | 2 | 1016 | 50.74 |
Shengchao Qin | 3 | 711 | 62.81 |
Corneliu Popeea | 4 | 374 | 18.27 |
Huu Hai Nguyen | 5 | 382 | 15.66 |