Grammarinator Meets LibFuzzer: A Structure-Aware In-Process Approach
Renáta Hodován, Ákos Kiss
2025
Abstract
Fuzzing involves generating a large number of inputs and running them through a target application to detect unusual behavior. Modern general-purpose guided fuzzers are effective at testing various programs, but their lack of structure awareness makes it difficult for them to induce unexpected behavior beyond the parser. Conversely, structure-aware fuzzers can generate well-formed inputs but are often unguided, preventing them from leveraging feedback mechanisms. In this paper, we introduce a guided structure-aware fuzzer that integrates Grammarinator, a structure-aware but unguided fuzzer, with LibFuzzer, a guided but structure-unaware fuzzer. Our approach enables effective testing of applications with minimal setup, requiring only an input format description in the form of a grammar. Our evaluation on a JavaScript engine demonstrates that the proposed fuzzer achieves higher code coverage and discovers more unique bugs compared to its two predecessors.
DownloadPaper Citation
in Harvard Style
Hodován R. and Kiss Á. (2025). Grammarinator Meets LibFuzzer: A Structure-Aware In-Process Approach. In Proceedings of the 20th International Conference on Software Technologies - Volume 1: ICSOFT; ISBN 978-989-758-757-3, SciTePress, pages 178-189. DOI: 10.5220/0013571500003964
in Bibtex Style
@conference{icsoft25,
author={Renáta Hodován and Ákos Kiss},
title={Grammarinator Meets LibFuzzer: A Structure-Aware In-Process Approach},
booktitle={Proceedings of the 20th International Conference on Software Technologies - Volume 1: ICSOFT},
year={2025},
pages={178-189},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013571500003964},
isbn={978-989-758-757-3},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 20th International Conference on Software Technologies - Volume 1: ICSOFT
TI - Grammarinator Meets LibFuzzer: A Structure-Aware In-Process Approach
SN - 978-989-758-757-3
AU - Hodován R.
AU - Kiss Á.
PY - 2025
SP - 178
EP - 189
DO - 10.5220/0013571500003964
PB - SciTePress