A path sensitive type system for resource usage verification of c like languages

  • Authors:
  • Hyun-Goo Kang;Youil Kim;Taisook Han;Hwansoo Han

  • Affiliations:
  • Department of Computer Science, Korea Advanced Institute of Science and Technology;Department of Computer Science, Korea Advanced Institute of Science and Technology;Department of Computer Science, Korea Advanced Institute of Science and Technology;Department of Computer Science, Korea Advanced Institute of Science and Technology

  • Venue:
  • APLAS'05 Proceedings of the Third Asian conference on Programming Languages and Systems
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we present a path sensitive type system for resource usage verification. Path sensitivity is essential to model resource usage in C programs correctly and accurately. So far, most of methods to analyze this kind of property in the path sensitive way have been proposed as whole program analyses or unsound analyses. Our main contributions are as follows. First, we formalize a sound analysis for path sensitive resource usage properties in C like languages. To the best of our knowledge, it is the first sound and modular analysis for this problem. We provide the complete proof for the soundness of the type system and algorithm. Second, our analysis is modular, and we provide an inference algorithm to generate function summaries automatically. We believe that our approach suggests new insights into the design of modular analyses.