Coupling policy iteration with semi-definite relaxation to compute accurate numerical invariants in static analysis

  • Authors:
  • Assalé Adjé;Stéphane Gaubert;Eric Goubault

  • Affiliations:
  • CEA, LIST and LIX, Ecole Polytechnique (MeASI), Palaiseau Cedex, France;INRIA Saclay and CMAP, Ecole Polytechnique, Palaiseau Cedex, France;CEA, LIST (MeASI), Gif-sur-Yvette Cedex, France

  • Venue:
  • ESOP'10 Proceedings of the 19th European conference on Programming Languages and Systems
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We introduce a new domain for finding precise numerical invariants of programs by abstract interpretation. This domain, which consists of level sets of non-linear functions, generalizes the domain of linear “templates” introduced by Manna, Sankaranarayanan, and Sipma. In the case of quadratic templates, we use Shor's semi-definite relaxation to derive computable yet precise abstractions of semantic functionals, and we show that the abstract fixpoint equation can be solved accurately by coupling policy iteration and semi-definite programming. We demonstrate the interest of our approach on a series of examples (filters, integration schemes) including a degenerate one (symplectic scheme).