A CLP heap solver for test case generation

被引:3
|
作者
Albert, Elvira [1 ]
Garcia De La Banda, Maria [2 ,3 ]
Gomez-Zamalloa, Miguel [1 ]
Miguel Rojas, Jose [4 ]
Stuckey, Peter [5 ,6 ]
机构
[1] Complutense Univ Madrid UCM, DSIC, E-28040 Madrid, Spain
[2] Monash Univ, Clayton, Vic 3800, Australia
[3] IMDEA Software, Madrid, Spain
[4] Tech Univ Madrid UPM, DLSIIS, E-28660 Madrid, Spain
[5] Univ Melbourne, Melbourne, Vic 3010, Australia
[6] IMDEA Software, Madrid, Spain
关键词
SYMBOLIC EXECUTION; FRAMEWORK;
D O I
10.1017/S1471068413000458
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 aliasing of references. This paper presents a novel 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 disjunction, and to the use of advanced back-propagation of heap related constraints. In addition, the heap solver supports the use of heap assumptions to avoid aliasing of data that, though legal, should not be provided as input.
引用
收藏
页码:721 / 735
页数:15
相关论文
共 50 条
  • [1] A CLP heap solver for test case generation
    Albert, Elvira
    De La Banda, María García
    Gómez-Zamalloa, Miguel
    Rojas, José Miguel
    Stuckey, Peter
    Theory and Practice of Logic Programming, 2013, 13 (4-5) : 721 - 735
  • [2] Test case generation for object-oriented imperative languages in CLP
    Gomez-Zamalloa, Miguel
    Albert, Elvira
    Puebla, German
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2010, 10 : 659 - 674
  • [3] Test Data Generation of Bytecode by CLP Partial Evaluation
    Albert, Elvira
    Gomez-Zamalloa, Miguel
    Puebla, German
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2009, 5438 : 4 - +
  • [4] Worst case tolerance analysis and CLP-based multifrequency test generation for analog circuits
    Abderrahman, A
    Cerny, E
    Kaminska, B
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 1999, 18 (03) : 332 - 345
  • [5] Constraint-based Abstracted Test-case Generation for Heap-Manipulation Programs
    Thanh-Tho Quan
    Nhat-Van Le-Thi
    Duc-Anh Le
    2012 THIRD INTERNATIONAL CONFERENCE ON THEORETICAL AND MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE (ICTMF 2012), 2013, 38 : 88 - 94
  • [6] CLP-based multifrequency test generation for analog circuits
    Abderrahman, A
    Cerny, E
    Kaminska, B
    15TH IEEE VLSI TEST SYMPOSIUM, PROCEEDINGS, 1997, : 158 - 165
  • [7] Compositional CLP-Based Test Data Generation for Imperative Languages
    Albert, Elvira
    Gomez-Zamalloa, Miguel
    Miguel Rojas, Jose
    Puebla, German
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2011, 6564 : 99 - +
  • [8] A solver-Aided language for test input generation
    Ringer T.
    Grossman D.
    Schwartz-Narbonne D.
    Tasiran S.
    Proceedings of the ACM on Programming Languages, 2017, 1 (OOPSLA)
  • [9] Synchronization of the inference engine with the constraint solver in a CLP system
    Zhang, Xiuzhen
    Liu, Chunnian
    Ruan Jian Xue Bao/Journal of Software, 1996, 7 (07): : 415 - 421
  • [10] Designing an Effective Constraint Solver in Coverage Directed Test Generation
    Shen, Haihua
    Wang, Pengyu
    Chen, Yunji
    Guo, Qi
    Zhang, Heng
    2009 INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS, PROCEEDINGS, 2009, : 388 - 395