Standard fixpoint iteration for Java bytecode verification
- 1 July 2000
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Programming Languages and Systems
- Vol. 22 (4) , 638-672
- https://doi.org/10.1145/363911.363915
Abstract
Java bytecode verification forms the basis for Java-based Internet security and needs a rigorous description. One important aspect of bytecode verification is to check if a Java Virtual Machine (JVM) program is statically well-typed. So far, several formal specifications have been proposed to define what the static well-typedness means. This paper takes a step further and presents a chaotic fixpoint iteration, which represents a family of fixpoint computation strategies to compute a least type for each JVM program within a finite number of iteration steps. Since a transfer function in the iteration is not monotone, we choose to follow the example of a nonstandard fixpoint theorem, which requires that all transfer functions are increasing, and monotone in case the bigger element is already a fixpoint. The resulting least type is the artificial top element if and only if he JVM program is not statically well-typed. The iteration is standard and close to Sun's informal specification and most commercial bytecode verifiers.Keywords
This publication has 13 references indexed in Scilit:
- Verified Bytecode VerifiersPublished by Springer Nature ,2001
- Modular Design for the Java Virtual Machine ArchitecturePublished by Springer Nature ,2000
- A formal framework for the Java bytecode language and verifierPublished by Association for Computing Machinery (ACM) ,1999
- A simple, comprehensive type system for Java bytecode subroutinesPublished by Association for Computing Machinery (ACM) ,1999
- A compositional account of the Java virtual machinePublished by Association for Computing Machinery (ACM) ,1999
- A type system for Java bytecode subroutinesPublished by Association for Computing Machinery (ACM) ,1998
- Fixed point theorems and semantics: a folk taleInformation Processing Letters, 1982
- Constructive versions of Tarski’s fixed point theoremsPacific Journal of Mathematics, 1979
- Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpointsPublished by Association for Computing Machinery (ACM) ,1977
- A unified approach to global program optimizationPublished by Association for Computing Machinery (ACM) ,1973