Type-based analysis of uncaught exceptions

  • Authors:
  • Xavier Leroy;François Pessaux

  • Affiliations:
  • INRIA Rocquencourt, Le Chesnay, France;INRIA Rocquencourt, Le Chesnay, France

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS)
  • Year:
  • 2000

Quantified Score

Hi-index 0.01

Visualization

Abstract

This article presents a program analysis to estimate uncaught exceptions in ML programs. This analysis relies on unification-based type inference in a nonstandard type system, using rows to approximate both the flow of escaping exceptions (a la effect systems) and the flow of result values (a la control-flow analyses). The resulting analysis is efficient and precise; in particular, arguments carried by exceptions are accurately handled.