Binary Mutation Testing Through Dynamic Translation

被引:0
|
作者
Becker, Markus [1 ]
Kuznik, Christoph [1 ]
Joy, Mabel Mary [1 ]
Xie, Tao [1 ]
Mueller, Wolfgang [1 ]
机构
[1] Univ Paderborn, C LAB, Fac Elect Engn Comp Sci & Math, D-33102 Paderborn, Germany
关键词
Embedded software verification; software emulation; fault-based testing; mutation analysis; test confidence;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a novel mutation based testing method through binary mutation. For this, a table of mutants is derived by control flow analysis of a disassembled binary under test. Mutations are injected at runtime by dynamic translation. Thus, our approach neither relies on source code nor a certain compiler. As instrumentation is avoided, testing results correspond to the original binary. In addition to high-level language faults, the proposed approach captures target specific faults related to compiling and linking. We investigated the software of an automotive case study. For this, a taxonomy of mutation operators for the ARM instruction set is proposed. Our experimental results prove 100% accuracy w.r.t. confidence metrics provided by conventional testing methods while avoiding significant mutant compilation overhead. Further speed up is achieved by an efficient binary mutation testing framework that relies on extending the open source software emulator QEMU.
引用
收藏
页数:12
相关论文
共 50 条
  • [21] Comprehensive Kernel Instrumentation via Dynamic Binary Translation
    Feiner, Peter
    Brown, Angela Demke
    Goel, Ashvin
    ACM SIGPLAN NOTICES, 2012, 47 (04) : 135 - 146
  • [22] Dynamic Binary Translation of VLIW Codes on Scalar Architectures
    Michel, Luc
    Petrot, Frederic
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2017, 36 (05) : 789 - 800
  • [23] Using dynamic binary translation to fuse dependent instructions
    Hu, SL
    Smith, JE
    CGO 2004: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2004, : 213 - 224
  • [24] A Hardware-assisted Translation Cache for Dynamic Binary Translation in Embedded Systems
    Salgado, Filipe
    Gomes, Tiago
    Tavares, Adriano
    Cabral, Jorge
    2018 IEEE 23RD INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2018, : 307 - 312
  • [25] VBIW: Optimizing Indirect Branch in Dynamic Binary Translation
    Zhang, Xiaochun
    Gao, Xiang
    Guo, Qi
    Huang, Jing
    Liu, Hongwei
    Meng, Xiaofu
    2013 IEEE 15TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS & 2013 IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (HPCC_EUC), 2013, : 1456 - 1462
  • [26] Dynamic Binary Translation - a Model-Driven Approach
    Foleiss, Juliano Henrique
    Tinassi D'amato, Andre Luis
    da Silva, Anderson Faustino
    2012 31ST INTERNATIONAL CONFERENCE OF THE CHILEAN COMPUTER SCIENCE SOCIETY (SCCC 2012), 2012, : 199 - 206
  • [27] Dynamic Binary Code Translation for Data Prefetch Optimization
    Ukezono, Tomoaki
    Tanaka, Kiyofumi
    2008 13TH ASIA-PACIFIC COMPUTER SYSTEMS ARCHITECTURE CONFERENCE, 2008, : 237 - 244
  • [28] Register liveness analysis for optimizing dynamic binary translation
    Probst, M
    Krall, A
    Scholz, B
    NINTH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2002, : 35 - 44
  • [29] Exploiting Longer SIMD Lanes in Dynamic Binary Translation
    Hong, Ding-Yong
    Fu, Sheng-Yu
    Liu, Yu-Ping
    Wu, Jan-Jan
    Hsu, Wei-Chung
    2016 IEEE 22ND INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2016, : 853 - 860
  • [30] Efficient LLVM-Based Dynamic Binary Translation
    Engelke, Alexis
    Okwieka, Dominik
    Schulz, Martin
    PROCEEDINGS OF THE 17TH ACM SIGPLAN/SIGOPS INTERNATIONAL CONFERENCE ON VIRTUAL EXECUTION ENVIRONMENTS (VEE '21), 2021, : 165 - 171