Higher-Order Test Generation

被引:8
|
作者
Godefroid, Patrice
机构
关键词
Testing; Verification; Automatic Test Generation; Software Model Checking; Uninterpreted Functions;
D O I
10.1145/1993316.1993529
中图分类号
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 条
  • [41] Higher-order squeezing and photon statistics in fourth harmonic generation
    Rani, Sunil
    Lal, Jawahar
    Singh, Nafa
    OPTICS COMMUNICATIONS, 2007, 277 (02) : 427 - 432
  • [42] AGTHOM - AUTOMATIC-GENERATION OF TRIANGULAR AND HIGHER-ORDER MESHES
    MOSCARDINI, AO
    LEWIS, BA
    CROSS, M
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 1983, 19 (09) : 1331 - 1353
  • [43] HIGHER-ORDER EFFICIENCY CONDITIONS VIA HIGHER-ORDER TANGENT CONES
    Do Van Luu
    NUMERICAL FUNCTIONAL ANALYSIS AND OPTIMIZATION, 2014, 35 (01) : 68 - 84
  • [44] Higher-Order Components Dictate Higher-Order Contagion Dynamics in Hypergraphs
    Kim, Jung -Ho
    Goh, K. -, I
    PHYSICAL REVIEW LETTERS, 2024, 132 (08)
  • [45] Generation of higher-order topological insulators using periodic driving
    Ghosh, Arnob Kumar
    Nag, Tanay
    Saha, Arijit
    JOURNAL OF PHYSICS-CONDENSED MATTER, 2024, 36 (09)
  • [46] Second- and higher-order data generation and calibration: A tutorial
    Escandara, Graciela M.
    Goicoechea, Hector C.
    Munoz de la Pena, Arsenio
    Olivieri, Alejandro C.
    ANALYTICA CHIMICA ACTA, 2014, 806 : 8 - 26
  • [47] Generation of higher-order orbital angular momentum squeezed light
    Ma, Long
    Yan, Manjun
    OPTIK, 2022, 251
  • [48] GENERATION OF HIGHER-ORDER SQUEEZING OF QUANTUM ELECTROMAGNETIC-FIELDS
    HONG, CK
    MANDEL, L
    PHYSICAL REVIEW A, 1985, 32 (02): : 974 - 982
  • [49] Generation of discrete higher-order optical vortex lattice at focus
    Wang, Yakun
    Ma, Haixiang
    Tai, Yuping
    Li, Xinzhong
    OPTICS LETTERS, 2023, 48 (17) : 4464 - 4467
  • [50] A HIGHER-ORDER ANALYSIS OF BASIC LINKAGES FOR HARMONIC MOTION GENERATION
    FARHANG, K
    MIDHA, A
    BAJAJ, A
    JOURNAL OF MECHANISMS TRANSMISSIONS AND AUTOMATION IN DESIGN-TRANSACTIONS OF THE ASME, 1987, 109 (03): : 301 - 307