AN INTERACTED INSTRUMENTER FOR DYNAMICALLY DISCOVERING INVARIANT

Liu Jie,Yang Xiaohua,Luo Yang,Wu Qujin
DOI: https://doi.org/10.3969/j.issn.1000-386X.2008.10.031
2008-01-01
Abstract:The discovery of hidden program invariants inside the program is the key to realize high-level behaviour contract and to raise program's quality.This article mainly discusses the methods of dynamical discovery of program invariants and the principles of instrumenting.A new interacted instrumenter based on traditional instrumenting techniques and database is presented,which is named School.School supports such functions as presetting watching point and watching variable,gives user a more convenient interface.School analyzes and reports invariants by collecting running trace to database,which is very different from traditional one.The base structure and implementation of the nested instrumenter are illustrated in details.Experiments show that School is accurate and convenient in discovering the invariants.
What problem does this paper attempt to address?