• Documents
  • Authors
  • Tables
  • Log in
  • Sign up
  • MetaCart
  • Donate

CiteSeerX logo

Advanced Search Include Citations
Advanced Search Include Citations | Disambiguate

Nullness analysis of Java source code (2006)

by Arnout F M Engelen
Add To MetaCart

Tools

Sorted by:
Results 1 - 4 of 4

Practical pluggable types for Java

by Matthew M. Papi , 2008
"... This paper introduces the Checker Framework, which supports adding pluggable type systems to the Java language in a backward-compatible way. A type system designer defines type qualifiers and their semantics, and a compiler plug-in enforces the semantics. Programmers can write the type qualifiers in ..."
Abstract - Cited by 67 (16 self) - Add to MetaCart
This paper introduces the Checker Framework, which supports adding pluggable type systems to the Java language in a backward-compatible way. A type system designer defines type qualifiers and their semantics, and a compiler plug-in enforces the semantics. Programmers can write the type qualifiers in their programs and use the plug-in to detect or prevent errors. The Checker Framework is useful both to programmers who wish to write error-free code, and to type system designers who wish to evaluate and deploy their type systems. The Checker Framework includes new Java syntax for expressing type qualifiers; declarative and procedural mechanisms for writing type-checking rules; and support for flowsensitive local type qualifier inference and for polymorphism over types and qualifiers. The Checker Framework is well-integrated with the Java language and toolset. We have evaluated the Checker Framework by writing five checkers and running them on over 600K lines of existing code. The checkers found real errors, then confirmed the absence
(Show Context)

Citation Context

...mental comparison is impossible. Null pointer dereference checking. Null pointer errors are a bugaboo of programmers, and significant effort has been devoted to tools that can eradicate them. Engelen =-=[9]-=- ran a significant number of null-checking tools and reports on their strengths and weaknesses; Chalin and James [5] give another recent survey. We mention four notable practical tools. ESC/Java [13] ...

Compile-time type-checking for custom type qualifiers in Java

by Matthew M. Papi, Michael D. Ernst - In OOPSLA Companion , 2007
"... We have created a system that enables programmers to add custom type qualifiers to the Java language in a backwardcompatible way. The system allows programmers to write type qualifiers in their programs and to create compiler plugins that enforce the semantics of these qualifiers at compile time. Th ..."
Abstract - Cited by 9 (5 self) - Add to MetaCart
We have created a system that enables programmers to add custom type qualifiers to the Java language in a backwardcompatible way. The system allows programmers to write type qualifiers in their programs and to create compiler plugins that enforce the semantics of these qualifiers at compile time. The system builds on existing Java tools and APIs, and on JSR 308. As an example, we introduce a plug-in to Sun’s Java compiler that uses our system to type-check the NonNull qualifier. Programmers can use the @NonNull annotation to prohibit an object reference from being null; then, by invoking a Java compiler with the NonNull plug-in, they can check for NonNull errors at compile time and rid their programs of null-pointer exceptions.
(Show Context)

Citation Context

...ecking. A byte-code verifier could augment a source-code checker. Null pointer errors are a bugaboo of programmers, and significant effort has been devoted to tools that can eradicating them. Engelen =-=[12]-=- ran a significant number of nullchecking tools and reports on their strengths and weaknesses; Chalin [7] gives another recent survey. We mention four notable practical tools. ESC/Java [18] is a stati...

Inference of field initialization

by Fausto Spoto, Michael D. Ernst , 2010
"... A raw object is partially initialized, with only some of its fields set to legal values. A raw object may violate its object invariants, such as that a given field is non-null. Programs often need to manipulate partially-initialized objects, but they must do so with care. Furthermore, analyses must ..."
Abstract - Cited by 6 (3 self) - Add to MetaCart
A raw object is partially initialized, with only some of its fields set to legal values. A raw object may violate its object invariants, such as that a given field is non-null. Programs often need to manipulate partially-initialized objects, but they must do so with care. Furthermore, analyses must be aware of rawness. For instance, software verification cannot depend on object invariants for raw objects. We present a static analysis that infers a safe over-approximation of the program variables, fields, or array elements that, at runtime, might hold non-fully initialized objects. Our formalization is flow-sensitive and considers the exception flow in the analyzed programs. We have proved the analysis to be sound. We have also implemented our analysis, in a tool called JULIA that computes both nullness and rawness information. We have evaluated JULIA on over 50K lines of code. We have compared its output to manually-written nullness and rawness information, and to an independently-written type-checking tool that checks nullness and rawness. JULIA’s output is accurate and, we believe, useful both to programmers and to static analyses.
(Show Context)

Citation Context

...c checker. Whenever the static checker issues a warning, Houdini removes the relevant annotation. It iterates this process until it reaches a fixed point. Houdini is neither sound nor complete. Inapa =-=[6]-=- is based on similar principles to Houdini. FindBugs [13, 12] finds null pointer dereferences by using an imprecise analysis that internally produces many false warnings, but then prioritizing and fil...

Aeronautics and Astronautics

by Pi Nancy, G. Leveson, Prof John Carroll, Prof Joel Cutcher-gershenfeld, Nicolas Dulac, David Zipkin , 2004
"... 1 ..."
Abstract - Add to MetaCart
Abstract not found
(Show Context)

Citation Context

...mental comparison is impossible. Null pointer dereference checking. Null pointer errors are a bugaboo of programmers, and significant effort has been devoted to tools that can eradicate them. Engelen =-=[9]-=- ran a significant number of null-checking tools and reports on their strengths and weaknesses; Chalin and James [5] give another recent survey. We mention four notable practical tools. ESC/Java [13] ...

Powered by: Apache Solr
  • About CiteSeerX
  • Submit and Index Documents
  • Privacy Policy
  • Help
  • Data
  • Source
  • Contact Us

Developed at and hosted by The College of Information Sciences and Technology

© 2007-2016 The Pennsylvania State University