Ayuda
Ir al contenido

Dialnet


Modular inference of subprogram contracts for safety checking

  • Autores: Yannick Moy, Claude Marché
  • Localización: Journal of symbolic computation, ISSN 0747-7171, Vol. 45, Nº 11, 2010, págs. 1184-1211
  • Idioma: inglés
  • Texto completo no disponible (Saber más ...)
  • Resumen
    • Contracts expressed by logic formulas allow one to formally specify expected behavior of programs. But writing such specifications manually takes a significant amount of work, in particular for uninteresting contracts which only aim at avoiding run-time errors during the execution. Thus, for programs of large size, it is desirable to at least partially infer such contracts. We propose a method to infer contracts expressed as boolean combinations of linear equalities and inequalities by combining different kinds of static analyses: abstract interpretation, weakest precondition computation and quantifier elimination. An important originality of our approach is to proceed modularly, considering subprograms independently.

      The practical applicability of our approach is demonstrated on experiments performed on a library and two benchmarks of vulnerabilities of C code.


Fundación Dialnet

Dialnet Plus

  • Más información sobre Dialnet Plus

Opciones de compartir

Opciones de entorno