Higher-Order Test Generation

被引:0
|
作者
Godefroid, Patrice
机构
关键词
Automatic Test Generation; Software Model Checking; Uninterpreted Functions;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Symbolic reasoning about large programs is bound to be imprecise. How to deal with this imprecision is a fundamental problem in program analysis. Imprecision forces approximation. Traditional static program verification builds "may" over-approximations of the program behaviors to check universal "for-all-paths" properties, while automatic test generation requires "must" under-approximations to check existential "for-some-path" properties. In this paper, we introduce a new approach to test generation where tests are derived from validity proofs of first-order logic formulas, rather than satisfying assignments of quantifier-free first-order logic formulas as usual. Two key ingredients of this higher-order test generation are to (1) represent complex/unknown program functions/instructions causing imprecision in symbolic execution by uninterpreted functions, and (2) record uninterpreted function samples capturing input-output pairs observed at execution time for those functions. We show that higher-order test generation generalizes and is more precise than simplifying complex symbolic expressions using their concrete runtime values. We present several program examples where our approach can exercise program paths and find bugs missed by previous techniques. We discuss the implementability and applications of this approach. We also explain in what sense dynamic test generation is more powerful than static test generation.
引用
收藏
页码:258 / 269
页数:12
相关论文
共 50 条
  • [1] Higher-Order Test Generation
    Godefroid, Patrice
    [J]. ACM SIGPLAN NOTICES, 2011, 46 (06) : 258 - 269
  • [2] Test Generation for Higher-Order Functions in Dynamic Languages
    Selakovic, Marija
    Pradel, Michael
    Karim, Rezwana
    Tip, Frank
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2
  • [3] Test Generation for Higher-Order Functions in Dynamic Languages
    Selakovic, Marija
    Pradel, Michael
    Karim, Rezwana
    Tip, Frank
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2
  • [4] Test of Higher-Order Nonlinearity via Low-Order Harmonic Generation Revisited
    Weerawarne, Darshana L.
    Gao, Xiaohui
    Gaeta, Alexander L.
    Shim, Bonggu
    [J]. 2014 CONFERENCE ON LASERS AND ELECTRO-OPTICS (CLEO), 2014,
  • [5] Generation of higher-order squeezing in a micromaser
    Li, FL
    Lin, DL
    [J]. JOURNAL OF PHYSICS B-ATOMIC MOLECULAR AND OPTICAL PHYSICS, 1997, 30 (16) : 3719 - 3729
  • [6] Atomic test of higher-order interference
    Lee, Kai Sheng
    Zhuo, Zhao
    Couteau, Christophe
    Wilkowski, David
    Paterek, Tomasz
    [J]. PHYSICAL REVIEW A, 2020, 101 (05)
  • [7] HIGHER-ORDER DISTRIBUTED FEEDBACK AND LIGHT GENERATION
    APANASEVICH, PA
    AFANASEV, AA
    KOROLKOV, MV
    [J]. KVANTOVAYA ELEKTRONIKA, 1982, 9 (06): : 1208 - 1215
  • [8] Generation of Higher-Order Squeezing in Multiphoton Micromaser
    Huang Qing (Department of Applied Physics Soulhwest Jiaotong University)
    [J]. Railway Engineering Science, 1995, (02) : 133 - 142
  • [9] A Higher-Order Kolmogorov-Smirnov Test
    Sadhanala, Veeranjaneyulu
    Wang, Yu-Xiang
    Ramdas, Aaditya
    Tibshirani, Ryan J.
    [J]. 22ND INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND STATISTICS, VOL 89, 2019, 89
  • [10] DEVELOPMENT OF A TEST OF HIGHER-ORDER LANGUAGE SKILLS
    Farnia, Fataneh
    Cohen, Nancy
    [J]. JOURNAL OF THE AMERICAN ACADEMY OF CHILD AND ADOLESCENT PSYCHIATRY, 2016, 55 (10): : S280 - S280