Improved Invariant Generation for Tvoc

  • Authors:
  • Yi Fang;Lenore D. Zuck

  • Affiliations:
  • Microsoft Corp., Redmond WA, U.S.A;Computer Science Department, University of Illinois at Chicago, Chicago MI, U.S.A

  • Venue:
  • Electronic Notes in Theoretical Computer Science (ENTCS)
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The NYU Tvoc project applies the method of translation validation to verify that optimized code is semantically equivalent to the unoptimized code, by establishing, for each run of the optimizing compiler, a set of verification conditions (VCs) whose validity implies the correctness of the optimized run. The core of Tvoc is Tvoc-sp, that handles structure preserving optimizations, i.e., optimizations that do not alter the inner loop structures. The underlying proof rule, Val, on whose soundness Tvoc-sp is based, requires, among other things, to generating invariants at each ''cutpoint'' of the control graph of both source and target codes. The current implementation of Tvoc-sp employs somewhat naive fix-point computations to obtain the invariants. In this paper, we propose an alternative method to compute invartiants which is based on simple data-flow analysis techniques.