Automated Conformance Testing of Java']Java Virtual Machines

被引:9
作者
Calvagna, Andrea [1 ]
Tramontana, Emiliano [1 ]
机构
[1] Catania Univ, Dipartimento Matemat & Informat, Catania, Italy
来源
2013 SEVENTH INTERNATIONAL CONFERENCE ON COMPLEX, INTELLIGENT, AND SOFTWARE INTENSIVE SYSTEMS (CISIS) | 2013年
关键词
Software engineering; software testing; formal methods; !text type='Java']Java[!/text; VERIFICATION;
D O I
10.1109/CISIS.2013.99
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a technique to fully automate the conformance testing of a Java virtual machine (JVM) implementation to the structural constraints it must satisfy to enforce type safety of program execution. The approach is based on formal modeling of the JVM as a finite state machine, ruled by the Java standard specifications. The model is used to derive a test suite and corresponding oracle that systematically explores the space of illegal states reachable by a JVM implementation under test. Also, a degree of conformance to the JVM specifications (i.e., too strict or too coarse) can be assessed by counting the number of false positives. Despite the huge test space, the entire proposed process need not human supervision. The technique is black box, fully automated, and can be applied for validating final products or during development i.e. for debugging purposes.
引用
收藏
页码:547 / 552
页数:6
相关论文
共 15 条
  • [1] [Anonymous], BYTE CODE ENG LIB AP
  • [2] [Anonymous], ASMETA PROJECT
  • [3] Barbu G, 2010, LECT NOTES COMPUT SC, V6035, P148, DOI 10.1007/978-3-642-12510-2_11
  • [4] Bytecode verification by model checking
    Basin, D
    Friedrich, S
    Gawkowski, M
    [J]. JOURNAL OF AUTOMATED REASONING, 2003, 30 (3-4) : 399 - 444
  • [5] Basin D., 1999, COMPUTER AIDED VERIF, P681
  • [6] Borger Egon, 2003, Abstract State Machines: A Method for High-Level System Design and Analysis
  • [7] T-wise combinatorial interaction test suites construction based on coverage inheritance
    Calvagna, Andrea
    Gargantini, Angelo
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2012, 22 (07) : 507 - 526
  • [8] A novel approach to Effective Parallel Computing of t-wise Covering Arrays
    Calvagna, Andrea
    Pappalardo, Giuseppe
    Tramontana, Emiliano
    [J]. 2012 IEEE 21ST INTERNATIONAL WORKSHOP ON ENABLING TECHNOLOGIES: INFRASTRUCTURE FOR COLLABORATIVE ENTERPRISES (WETICE), 2012, : 149 - 153
  • [9] Cimatti A., 2002, Computer Aided Verification. 14th International Conference, CAV 2002. Proceedings (Lecture Notes in Computer Science Vol.2404), P359
  • [10] Reusing a JML Specification Dedicated to Verification for Testing, and Vice-Versa: Case Studies
    du Bousquet, Lydie
    Ledru, Yves
    Maury, Olivier
    Oriat, Catherine
    Lanet, Jean-Louis
    [J]. JOURNAL OF AUTOMATED REASONING, 2010, 45 (04) : 415 - 435