Fuzz Smarter, Not Harder: Towards Greener Fuzzing with GreenAFL
By: Ayse Irmak Ercevik , Aidan Dakhama , Melane Navaratnarajah and more
Potential Business Impact:
Tests software using less electricity.
Fuzzing has become a key search-based technique for software testing, but continuous fuzzing campaigns consume substantial computational resources and generate significant carbon footprints. Existing grey-box fuzzing approaches like AFL++ focus primarily on coverage maximisation, without considering the energy costs of exploring different execution paths. This paper presents GreenAFL, an energy-aware framework that incorporates power consumption into the fuzzing heuristics to reduce the environmental impact of automated testing whilst maintaining coverage. GreenAFL introduces two key modifications to traditional fuzzing workflows: energy-aware corpus minimisation considering power consumption when reducing initial corpora, and energy-guided heuristics that direct mutation towards high-coverage, low-energy inputs. We conduct an ablation study comparing vanilla AFL++, energy-based corpus minimisation, and energy-based heuristics to evaluate the individual contributions of each component. Results show that highest coverage, and lowest energy usage is achieved whenever at least one of our modifications is used.
Similar Papers
AFLGopher: Accelerating Directed Fuzzing via Feasibility-Aware Guidance
Cryptography and Security
Finds software bugs much faster.
Intelligent Graybox Fuzzing via ATPG-Guided Seed Generation and Submodule Analysis
Cryptography and Security
Finds hardware bugs faster by testing smart.
LibLMFuzz: LLM-Augmented Fuzz Target Generation for Black-box Libraries
Cryptography and Security
Finds hidden problems in computer programs automatically.