arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

K. Rustan

99 papers · 1992–2026

1992: 11993: 21994: 11995: 31996: 11997: 31998: 51999: 02000: 22001: 12002: 42003: 42004: 72005: 82006: 12007: 72008: 82009: 52010: 42011: 52012: 102013: 22014: 22015: 32016: 32017: 22018: 02019: 02020: 02021: 12022: 02023: 02024: 12025: 22026: 1
1992peak 10 in 20122026

Frequent co-authors

Papers

showing 1–25 of 99 RSS

Extended static checking for Java

Cormac Flanagan, K. Rustan M. Leino, Mark Lillibridge +3 more

Information Systems · · cited 1,348× · DOI ↗ · more like this ·

Software development and maintenance are costly endeavors. The cost can be reduced if more software defects are detected earlier in the development cycle. This paper introduces the Extended Static Checker for Java (ESC/Java), an experimental compile-time program checker that finds common programming errors. The checker is powered by verification-condition generation and automatic theorem-proving techniques. It provides programmers with a simple annotation language with which programmer design decisions can be expressed formally. ESC/Java examines the annotated software and warns of inconsistencies between the design decisions recorded in the annotations and the actual code, and also warns of potential runtime errors in the code. This paper gives an overview of the checker architecture and annotation language and describes our experience applying the checker to tens of thousands of lines…

Extended static checking

K. Rustan M. Leino

Software · · cited 395× · DOI ↗ · more like this ·

Extended static checking (ESC) is a static program analysis technique that attempts to find common programming errors like null-dereferences, array index bounds errors, type cast errors, deadlocks, and race conditions. An ESC tool is powered by program verification technology, yet it feels to the programmer like a type checker because of the limited ambition of finding only certain kinds of errors. This talk reports on some of the research results of and the current state of the Extended Static Checking project at DEC SRC.

Verification of Object-Oriented Programs with Invariants.

Mike Barnett, Robert DeLine, Manuel Fähndrich +2 more

Artificial Intelligence · The Journal of Object Technology · · cited 327× · DOI ↗ · more like this ·

An object invariant defines what it means for an object's data to be in a consistent state. Object invariants are central to the design and correctness of objectoriented programs. This paper defines a programming methodology for using object invariants. The methodology, which enriches a program's state space to express when each object invariant holds, deals with owned object components, ownership transfer, and subclassing, and is expressive enough to allow many interesting object-oriented programs to be specified and verified. Lending itself to sound modular verification, the methodology also provides a solution to the problem of determining what state a method is allowed to modify.

An overview of JML tools and applications1 1www.jmlspecs.org

Lilian Burdy, Yoonsik Cheon, David R. Cok +6 more

Artificial Intelligence · Electronic Notes in Theoretical Computer Science · · cited 205× · DOI ↗ · more like this ·

The Java Modeling Language (JML) can be used to specify the detailed design of Java classes and interfaces by adding annotations to Java source files. The aim of JML is to provide a specification language that is easy to use for Java programmers and that is supported by a wide range of tools for specification type-checking, runtime debugging, static analysis, and verification. This paper gives an overview of the main ideas behind JML, the different groups collaborating to provide tools for JML, and the existing applications of JML. Thus far, most applications have focused on code for programming smartcards written in the Java Card dialect of Java.

Weakest-precondition of unstructured programs

Mike Barnett, K. Rustan M. Leino

Artificial Intelligence · ACM SIGSOFT Software Engineering Notes · · cited 203× · DOI ↗ · more like this ·

Program verification systems typically transform a program into a logical expression which is then fed to a theorem prover. The logical expression represents the weakest precondition of the program relative to its specification; when (and if!) the theorem prover is able to prove the expression, then the program is considered correct. Computing such a logical expression for an imperative, structured program is straightforward, although there are issues having to do with loops and the efficiency both of the computation and of the complexity of the formula with respect to the theorem prover. This paper presents a novel approach for computing the weakest precondition of an unstructured program that is sound even in the presence of loops. The computation is efficient and the resulting logical expression provides more leeway for the theorem prover efficiently to attack the proof.

Declaring and checking non-null types in an object-oriented language

Manuel Fähndrich, K. Rustan M. Leino

Artificial Intelligence · · cited 186× · DOI ↗ · more like this ·

Distinguishing non-null references from possibly-null references at the type level can detect null-related errors in object-oriented programs at compile-time. This paper gives a proposal for retrofitting a language such as C# or Java with non-null types. It addresses the central complications that arise in constructors, where declared non-null fields may not yet have been initialized, but the partially constructed object is already accessible. The paper reports experience with an implementation for annotating and checking null-related properties in C# programs.

Data groups

K. Rustan M. Leino

Artificial Intelligence · · cited 154× · DOI ↗ · more like this ·

This paper explores the interpretation of specifications in the context of an object-oriented programming language with subclassing and method overrides. In particular, the paper considers annotations for describing what variables a method may change and the interpretation of these annotations. The paper shows that there is a problem to be solved in the specification of methods whose overrides may modify additional state introduced in subclasses. As a solution to this problem, the paper introduces data groups, which enable modular checking and rather naturally capture a programmer's design decisions.

BoogiePL: A typed procedural language for checking object-oriented programs

Robert DeLine, K. Rustan M. Leino

Artificial Intelligence · · cited 137× · OpenAlex ↗ · more like this ·

... and program verification. The language is a simple coarsely typed imperative language with procedures and arrays, plus support for introducing mathematical functions and declaring properties of these functions. BoogiePL can be used to represent programs written in an imperative source language (like an object-oriented.NET language), along with a logical encoding of the semantics of such a source language. From the resulting BoogiePL program, one can then generate verification conditions or perform other program analyses such as the inference of program invariants. In this way, BoogiePL also serves as a programming-notation front end to theorem provers. BoogiePL is accepted as input to Boogie, the Spec# static program verifier.

Data abstraction and information hiding

K. Rustan M. Leino, Greg Nelson

Signal Processing · ACM Transactions on Programming Languages and Systems · · cited 133× · DOI ↗ · more like this ·

This article describes an approach for verifying programs in the presence of data abstraction and information hiding, which are key features of modern programming languages with objects and modules. This article draws on our experience building and using an automatic program checker, and focuses on the property of modular soundness : that is, the property that the separate verifications of the individual modules of a program suffice to ensure the correctness of the composite program. We found this desirable property surprisingly difficult to achieve. A key feature of our methodology for modular soundness is a new specification construct: the abstraction dependency , which reveals which concrete variables appear in the representation of a given abstract variable, without revealing the abstraction function itself. This article discusses in detail two varieties of abstraction dependencies…

Specification and verification challenges for sequential object-oriented programs

Gary T. Leavens, K. Rustan M. Leino, Péter Müller

Artificial Intelligence · Formal Aspects of Computing · · cited 127× · DOI ↗ · more like this ·

Abstract The state of knowledge in how to specify sequential programs in object-oriented languages such as Java and C# and the state of the art in automated verification tools for such programs have made measurable progress in the last several years. This paper describes several remaining challenges and approaches to their solution.

JML: notations and tools supporting detailed design in Java

Gary T. Leavens, Clyde Ruby, K. Rustan +3 more

Artificial Intelligence · · cited 126× · OpenAlex ↗ · more like this ·

JML is a notation for specifying the detailed design of Java classes and interfaces. JML's assertions are stated using a slight extension of Java's expression syntax. This should make it easy to use. Tools for JML aid in static analysis, verification, and run-time debugging of Java code.

This is Boogie 2

K. Rustan M. Leino

Artificial Intelligence · · cited 125× · OpenAlex ↗ · more like this ·

Boogie is an intermediate verification language, designed to make the prescription of verification conditions natural and convenient. It serves as a com- mon intermediate representation for static program verifiers of various source languages, and it abstracts over the interfaces to various theorem provers. Boogie can also be used as a shared input and output format for techniques like abstract interpretation and predicate abstraction. As a language, Boogie has both mathe- matical and imperative components. The imperative components of Boogie spec- ify sets of execution traces, the states of which are described and constrained by the mathematical components. The language includes features like paramet- ric polymorphism, partial orders, logical quantifications, nondeterminism, total expressions, partial statements, and flexible control flow. The Boogie language was previously known as…

Using data groups to specify and check side effects

K. Rustan M. Leino, Arnd Poetzsch‐Heffter, Yunhong Zhou

Artificial Intelligence · · cited 113× · DOI ↗ · more like this ·

Reasoning precisely about the side effects of procedure calls is important to many program analyses. This paper introduces a technique for specifying and statically checking the side effects of methods in an object-oriented language. The technique uses data groups, which abstract over variables that are not in scope, and limits program behavior by two alias-confining restrictions, pivot uniqueness and owner exclusion. The technique is shown to achieve modular soundness and is simpler than previous attempts at solving this problem.

A programming model for concurrent object-oriented programs

Bart Jacobs, Frank Piessens, Jan Smans +2 more

Hardware and Architecture · ACM Transactions on Programming Languages and Systems · · cited 101× · DOI ↗ · more like this ·

Reasoning about multithreaded object-oriented programs is difficult, due to the nonlocal nature of object aliasing and data races. We propose a programming regime (or programming model ) that rules out data races, and enables local reasoning in the presence of object aliasing and concurrency. Our programming model builds on the multithreading and synchronization primitives as they are present in current mainstream programming languages. Java or C# programs developed according to our model can be annotated by means of stylized comments to make the use of the model explicit. We show that such annotated programs can be formally verified to comply with the programming model. If the annotated program verifies, the underlying Java or C# program is guaranteed to be free from data races, and it is sound to reason locally about program behavior. Verification is modular: a program is valid if all…

JML (poster session)

Gary T. Leavens, Clyde Ruby, K. Rustan M. Leino +2 more

Artificial Intelligence · · cited 78× · DOI ↗ · more like this ·

JML is a notation for specifying the detailed design of Java classes and interfaces. JML's assertions are stated using a slight extension of Java's expression syntax. This should make it easy to use. Tools for JML aid in static analysis, verification, and run-time debugging of Java code.

Safe concurrency for aggregate objects with invariants

Bart Jacobs, K. Rustan M. Leino, Frank Piessens +1 more

Artificial Intelligence · · cited 75× · DOI ↗ · more like this ·

Developing safe multithreaded software systems is difficult due to the potential unwanted interference among concurrent threads. This paper presents a flexible methodology for object-oriented programs that protects object structures against inconsistency due to race conditions. It is based on a recent methodology for single-threaded programs where developers define aggregate object structures using an ownership system and declare invariants over them. The methodology is supported by a set of language elements and by both a sound modular static verification method and run-time checking support. The paper reports on preliminary experience with a prototype implementation.

Vale: Verifying High-Performance Cryptographic Assembly Code

Barry Bond, Chris Hawblitzel, Manos Kapritsos +6 more

Artificial Intelligence · USENIX Security Symposium · · cited 74× · OpenAlex ↗ · more like this ·

High-performance cryptographic code often relies on complex hand-tuned assembly language that is customized for individual hardware platforms. Such code is difficult to understand or analyze. We introduce a new programming language and tool called Vale that supports flexible, automated verification of high-performance assembly code. The Vale tool transforms annotated assembly language into an abstract syntax tree (AST), while also generating proofs about the AST that are verified via an SMT solver. Since the AST is a first-class proof term, it can be further analyzed and manipulated by proven-correct code before being extracted into standard assembly. For example, we have developed a novel, proven-correct taint-analysis engine that verifies the code’s freedom from digital side channels. Using these tools, we verify the correctness, safety, and security of implementations of SHA-256 on…

The Dafny Integrated Development Environment

K. Rustan M. Leino, Valentin Wüstholz

cs.PL · · cited 74× · arXiv ↗ · more like this ·

In recent years, program verifiers and interactive theorem provers have become more powerful and more suitable for verifying large programs or proofs. This has demonstrated the need for improving the user experience of these tools to increase productivity and to make them more accessible to non-experts. This paper presents an integrated development environment for Dafny-a programming language, verifier, and proof assistant-that addresses issues present in most state-of-the-art verifiers: low responsiveness and lack of support for understanding non-obvious verification failures. The paper demonstrates several new features that move the state-of-the-art closer towards a verification environment that can provide verification feedback as the user types and can present more helpful information about the program or failed verifications in a demand-driven and unobtrusive way.

Wrestling with rep exposure

David Detlefs, K. Rustan, Mirka Leino +2 more

Artificial Intelligence · · cited 73× · OpenAlex ↗ · more like this ·

A central methodological problem in programming with multiple levels of abstractions is the loosely defined problem of rep exposure. This paper traces the problem of rep exposure to the precisely defined notion of abstract aliasing. The paper also outlines a statically-enforceable discipline for avoiding abstract aliasing, but the outline is incomplete.

Accessible Software Verification with Dafny

K. Rustan M. Leino

Artificial Intelligence · IEEE Software · · cited 57× · DOI ↗ · more like this ·

Formal software verification includes specifications, tools, and interactivity with the developer. By combining these key components into a programming language and a familiar programming environment with high automation, Dafny makes verification more easily accessible to programmers and students.

Specification and Verification of Object-Oriented Software

K. Rustan M. Leino

Artificial Intelligence · NATO science for peace and security series. D, Information and communication security · · cited 49× · DOI ↗ · more like this ·

The specification of object-oriented and other pointer-based programs must be able to describe the structure of the program's dynamically allocated data as well as some abstract view of what the code implements. The verification of such programs can be done by generating logical verification conditions from the program and its specifications and then analyzing the verification conditions by a mechanical theorem prover.

Reasoning about comprehensions with first-order SMT solvers

K. Rustan M. Leino, Rosemary Monahan

Artificial Intelligence · Maynooth University ePrints and eTheses Archive (Maynooth University) · · cited 45× · DOI ↗ · more like this ·

This paper presents a technique for translating common comprehension expressions (sum, count, product, min, and max) into verification conditions that can be tackled by two off-the-shelf first-order SMT solvers. Since a first-order SMT solver does not directly support the bound variables that occur in comprehension expressions, the challenge is to provide a sound axiomatisation that is strong enough to prove interesting programs and, furthermore, that can be used automatically by the SMT solver. The technique has been implemented in the Spec# program verifier. The paper also reports on the experience of using Spec# to verify several challenging programming examples drawn from a textbook by Dijkstra and Feijen.

Finding stale‐value errors in concurrent programs

Michael Burrows, K. Rustan M. Leino

Computational Theory and Mathematics · Concurrency and Computation Practice and Experience · · cited 42× · DOI ↗ · more like this ·

Abstract Concurrent programs can suffer from many types of errors, not just the well‐studied problems of deadlocks and simple race conditions on variables. This paper addresses a kind of race condition that arises from reading a variable whose value is possibly out of date. The paper introduces a simple technique for detecting such stale values, and reports on the encouraging experience with a compile‐time checker that uses the technique. Copyright © 2004 John Wiley & Sons, Ltd.

Exception safety for C

K. Rustan, Mirka Leino, Wolfram Schulte

Artificial Intelligence · Software Engineering and Formal Methods · · cited 27× · DOI ↗ · more like this ·

Programming-language mechanisms for throwing and handling exceptions can simplify some computer programs. However the use of exceptions can also be error prone, leading to new programming errors and code that is hard to understand. This paper describes ways to tame the exception usage in C#. In particular the paper describes the treatment of exceptions in Spec#, an experimental superset of C# that includes code contracts.