A CLP Heap Solver for Test Case Generation. Albert, E., María García de la Banda, Gómez-Zamalloa, M., Rojas, J. M., & Stuckey, P. Theory and Practice of Logic Programming (TPLP) (ICLP 2013 SI.), 13(4-5):721–735, Cambridge U. Press, 2013.
A CLP Heap Solver for Test Case Generation [link]Link  abstract   bibtex   
One of the main challenges to software testing today is to efficiently handle heap-manipulating programs. These programs often build complex, dynamically allocated data structures during execution and, to ensure reliability, the testing process needs to consider all possible shapes these data structures can take. This creates scalability issues since high (often exponential) numbers of shapes may be built due to the \emphaliasing of references. This paper presents a novel \emphCLP heap solver for the test case generation of heap-manipulating programs that is more scalable than previous proposals, thanks to the treatment of reference aliasing by means of \emphdisjunction, and to the use of advanced \emphback-propagation of heap related constraints. In addition, the heap solver supports the use of \emphheap assumptions to avoid aliasing of data that, though legal, should not be provided as input.
@article{AlbertGGZRS13,
  author    = {Elvira Albert and Mar{\'i}a Garc{\'i}a de la Banda and Miguel G\'{o}mez-Zamalloa and Jos\'e Miguel Rojas and Peter Stuckey},
  title     = {{A} {CLP} {H}eap {S}olver for {T}est {C}ase {G}eneration},
  journal   = {Theory and Practice of Logic Programming (TPLP) (ICLP 2013 SI.)},
  year      = {2013},
  publisher = {Cambridge U. Press},
  volume    = {13},
  number    = {4-5},
  pages     = {721--735},
  ee        = {http://dx.doi.org/10.1017/S1471068413000458},
  pdf       = {http://costa.ls.fi.upm.es/papers/costa/AlbertGGZRS13.pdf},
  labels    = {journal,doves,vivac,prometidos,rank-a},
  abstract  = {One of the main challenges to software testing today is
to efficiently handle heap-manipulating programs. These programs often
build complex, dynamically allocated data structures during execution
and, to ensure reliability, the testing process needs to consider all
possible shapes these data structures can take. This creates
scalability issues since high (often exponential) numbers of shapes
may be built due to the \emph{aliasing} of references. This paper
presents a novel \emph{CLP heap solver} for the test case generation
of heap-manipulating programs that is more scalable than previous
proposals, thanks to the treatment of reference aliasing by means of
\emph{disjunction}, and to the use of advanced \emph{back-propagation}
of heap related constraints. In addition, the heap solver supports the
use of \emph{heap assumptions} to avoid aliasing of data that, though
legal, should not be provided as input.}
}

Downloads: 0