Flow-sensitive type qualifiers
Jeffrey S. Foster, Tachio Terauchi, Alex Aiken · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 2002
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.
Cited by 375 works. doi:10.1145/512529.512531
Authors
References
- Compilers: Principles, Techniques, and Tools
- Checking system rules using system-specific, programmer-written compiler extensions
- Extended static checking for Java
- Bugs as deviant behavior
- CCured
- Enforcing high-level protocols in low-level software
- Detecting format string vulnerabilities with type qualifiers
- Analysis of pointers and structures
- Efficient context-sensitive pointer analysis for C programs
- Static detection of dynamic memory errors