Grammar‐based fuzzing of data integration parsers in computational materials science
Open Access
- 19 September 2023
- journal article
- research article
- Published by Wiley in Software: Practice and Experience
- Vol. 54 (2) , 208-224
Abstract
Context: Computational materials science (CMS) focuses on in silico experiments to compute the properties of known and novel materials, where many software packages are used in the community. The NOMAD Laboratory (Draxl C, Scheffler) offers to store the input and output files in its FAIR data repository. Since the file formats of these software packages are non‐standardized, parsers are used to provide the results in a normalized format.Objective: The main goal of this article is to report experience and findings of using grammar‐based fuzzing on these parsers.Method: We have constructed an input grammar for four common software packages in the CMS domain and performed an experimental evaluation on the capabilities of grammar‐based fuzzing to detect failures in the Novel Materials Discovery (NOMAD) parsers.Results: With our approach, we were able to identify three unique critical bugs concerning service availability, as well as several additional syntactic, semantic, logical, and downstream bugs in the investigated NOMAD parsers. We reported all issues to the developer team prior to publication.Conclusion: Based on the experience gained, we can recommend grammar‐based fuzzing also for other research software packages to improve the trust level in the correctness of the produced results.Keywords
All Related Versions
Funding Information
- Deutsche Forschungsgemeinschaft (414984028, SFB 1404)
This publication has 22 references indexed in Scilit:
- Reproducibility in density functional theory calculations of solidsScience, 2016
- The FAIR Guiding Principles for scientific data management and stewardshipScientific Data, 2016
- Testing scientific software: A systematic literature reviewInformation and Software Technology, 2014
- exciting: a full-potential all-electron package implementing density-functional theory and many-body perturbation theoryJournal of Physics: Condensed Matter, 2014
- Finding and understanding bugs in C compilersACM SIGPLAN Notices, 2011
- Ab initio molecular simulations with numeric atom-centered orbitalsComputer Physics Communications, 2009
- QUANTUM ESPRESSO: a modular and open-source software project for quantum simulations of materialsJournal of Physics: Condensed Matter, 2009
- Materials simulations using VASP—a quantum perspective to materials scienceComputer Physics Communications, 2007
- An empirical study of the reliability of UNIX utilitiesCommunications of the ACM, 1990
- Inhomogeneous Electron GasPhysical Review B, 1964