SN4KE: Practical Mutation Testing at Binary Level

Mohsen Ahmadi, Pantea Kiaei, Navid Emamdoost
2/10/2021
cs.SEcs.CR

Official code: pwnslinger/sn4ke (19 stars, Python, last commit 2022-11-21).

Abstract

Mutation analysis is an effective technique to evaluate a test suite adequacy in terms of revealing unforeseen bugs in software. Traditional source- or IR-level mutation analysis is not applicable to the software only available in binary format.

Show full abstract

This paper proposes a practical binary mutation analysis via binary rewriting, along with a rich set of mutation operators to represent more realistic bugs. We implemented our approach using two state-of-the-art binary rewriting tools and evaluated its effectiveness and scalability by applying them to SPEC CPU benchmarks. Our analysis revealed that the richer mutation operators contribute to generating more diverse mutants, which, compared to previous works leads to a higher mutation score for the test harness. We also conclude that the reassembleable disassembly rewriting yields better scalability in comparison to lifting to an intermediate representation and performing a full translation.

View on arXivView PDF

Code Implementations(1)

pwnslinger/sn4keOfficial100%

Evaluation of two binary mutation engines based on ddisasm and rev.ng

195Python, CJul 10, 20204 years ago
binarybinary-rewritingmutation-testingreverse-engineering

Similar Papers

Cite this paper

@article{ahmadi2021snke,
  title  = {SN4KE: Practical Mutation Testing at Binary Level},
  author = {Mohsen Ahmadi and Pantea Kiaei and Navid Emamdoost},
  year   = {2021},
  eprint = {2102.05709},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.05709}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.05709.svg)](https://codeofpaper.com/paper/2102.05709)

Discussion