Software Engineering
DynamiQ Boosts Fuzzing Efficiency by Using Program Structure Instead of Individual Seeds
A new tool reimagines parallel fuzzing to dynamically allocate work based on a program's call graph, achieving significant coverage gains and finding nine previously unknown bugs.
Researchers have introduced DynamiQ, an advanced parallel fuzzing framework that rethinks how to distribute testing workload across multiple processors. Rather than treating individual test inputs as tasks—the standard practice in most existing tools—DynamiQ extracts structural information from a program's call graph and uses that to define its tasks, then continuously adjusts allocations based on runtime performance data.
Moving Beyond Seed-Based Parallelization#
Traditional fuzzing systems parallelize by assigning seeds (test inputs) independently to different workers. This approach often leads to redundant exploration, where multiple workers end up testing similar code paths. DynamiQ sidesteps this by identifying higher-level task boundaries derived from the program's internal structure, allowing workers to focus on distinct areas of the code and avoid wasted effort.
How DynamiQ Works#
Built atop the LibAFL framework, DynamiQ adds several practical refinements:
- Call graph analysis: Tasks map to regions of the program's control flow rather than arbitrary inputs
- Adaptive feedback: Runtime metrics guide continuous reallocation, shifting resources toward more productive areas
- Task-aware fuzzing: Testing strategies adjust based on which program regions are assigned to each worker
The system evolved from its predecessor AFLTeam, incorporating optimizations at both the task allocation and fuzzing level.
Benchmark Results#
Evaluation on eighteen targets spanning Magma and FuzzBench benchmarks, with over 40 CPU-years of total computational effort, showed strong performance:
- Highest branch coverage on fourteen of eighteen targets
- Average coverage gains of 8.37% to 19.53% compared to five baseline fuzzers
- Nine previously unknown bugs discovered across test suites
These results suggest that intelligent task allocation based on program structure can materially improve fuzzing effectiveness, particularly when scaling to multiple cores and extended testing campaigns.