Flow-sensitive type qualifiers
Top Cited Papers
- 17 May 2002
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 37 (5), 1-12
- https://doi.org/10.1145/512529.512531
Abstract
We present a system for extending standard type systems with flow-sensitive type qualifiers. Users annotate their programs with type qualifiers, and inference checks that the annotations are correct. In our system only the type qualifiers are modeled flow-sensitively---the underlying standard types are unchanged, which allows us to obtain an efficient constraint-based inference algorithm that integrates flow-insensitive alias analysis, effect inference, and ideas from linear type systems to support strong updates. We demonstrate the usefulness of flow-sensitive type qualifiers by finding a number of new locking bugs in the Linux kernel.Keywords
This publication has 26 references indexed in Scilit:
- Extended static checking for JavaPublished by Association for Computing Machinery (ACM) ,2002
- ESPPublished by Association for Computing Machinery (ACM) ,2002
- Adoption and focusPublished by Association for Computing Machinery (ACM) ,2002
- Bugs as deviant behaviorPublished by Association for Computing Machinery (ACM) ,2001
- Typestate Checking of Machine CodeLecture Notes in Computer Science, 2001
- Alias TypesLecture Notes in Computer Science, 2000
- Static detection of dynamic memory errorsPublished by Association for Computing Machinery (ACM) ,1996
- Tractable constraints in finite semilatticesLecture Notes in Computer Science, 1996
- Context-sensitive interprocedural points-to analysis in the presence of function pointersPublished by Association for Computing Machinery (ACM) ,1994
- Typing references by effect inferenceLecture Notes in Computer Science, 1992