MOTIF: A tool for Mutation Testing with Fuzzing

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lee, Jaekwon, Viganò, Enrico, Pastore, Fabrizio, Briand, Lionel
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910472050049024
author Lee, Jaekwon
Viganò, Enrico
Pastore, Fabrizio
Briand, Lionel
author_facet Lee, Jaekwon
Viganò, Enrico
Pastore, Fabrizio
Briand, Lionel
contents Mutation testing consists of generating test cases that detect faults injected into software (generating mutants) which its original test suite could not. By running such an augmented set of test cases, it may discover actual faults that may have gone unnoticed with the original test suite. It is thus a desired practice for embedded software running in safety-critical cyber-physical systems (CPS). Unfortunately, the state-of-the-art tool targeting C, a typical language for CPS software, relies on symbolic execution, whose limitations often prevent its application. MOTIF overcomes such limitations by leveraging grey-box fuzzing tools to generate unit test cases in C that detect injected faults in mutants. Indeed, fuzzing tools automatically generate inputs by exercising the compiled version of the software under test guided by coverage feedback, thus overcoming the limitations of symbolic execution. Our empirical assessment has shown that it detects more faults than symbolic execution (i.e., up to 47 percentage points), when the latter is applicable.
format Preprint
id arxiv_https___arxiv_org_abs_2406_02398
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MOTIF: A tool for Mutation Testing with Fuzzing
Lee, Jaekwon
Viganò, Enrico
Pastore, Fabrizio
Briand, Lionel
Software Engineering
Mutation testing consists of generating test cases that detect faults injected into software (generating mutants) which its original test suite could not. By running such an augmented set of test cases, it may discover actual faults that may have gone unnoticed with the original test suite. It is thus a desired practice for embedded software running in safety-critical cyber-physical systems (CPS). Unfortunately, the state-of-the-art tool targeting C, a typical language for CPS software, relies on symbolic execution, whose limitations often prevent its application. MOTIF overcomes such limitations by leveraging grey-box fuzzing tools to generate unit test cases in C that detect injected faults in mutants. Indeed, fuzzing tools automatically generate inputs by exercising the compiled version of the software under test guided by coverage feedback, thus overcoming the limitations of symbolic execution. Our empirical assessment has shown that it detects more faults than symbolic execution (i.e., up to 47 percentage points), when the latter is applicable.
title MOTIF: A tool for Mutation Testing with Fuzzing
topic Software Engineering
url https://arxiv.org/abs/2406.02398