Counterexample guided path reduction for static program analysis

  • Authors:
  • Ansgar Fehnker;Ralf Huuck;Sean Seefried

  • Affiliations:
  • National ICT Australia Ltd. (NICTA) Locked Bag 6016, University of New South Wales, Sydney NSW, Australia;National ICT Australia Ltd. (NICTA) Locked Bag 6016, University of New South Wales, Sydney NSW, Australia;National ICT Australia Ltd. (NICTA) Locked Bag 6016, University of New South Wales, Sydney NSW, Australia

  • Venue:
  • Concurrency, Compositionality, and Correctness
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this work we introduce counterexample guided path reduction based on interval constraint solving for static program analysis. The aim of this technique is to reduce the number of false positives by reducing the number of feasible paths in the abstraction iteratively. Given a counterexample, a set of observers is computed which exclude infeasible paths in the next iteration. This approach combines ideas from counterexample guided abstraction refinement for software verification with static analysis techniques that employ interval constraint solving. The advantage is that the analysis becomes less conservative than static analysis, while it benefits from the fact that interval constraint solving deals naturally with loops. We demonstrate that the proposed approach is effective in reducing the number of false positives, and compare it to other static checkers for C/C++ program analysis.