fuzzing

Automate fuzz testing for Chromium with the Google FuzzTest framework.

24.5k|9.1k|Updated Feb 5, 2018
One-click install
npx skills add https://github.com/chromium/chromium --skill fuzzing
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fuzzing
Source: https://github.com/chromium/chromium/tree/main/agents/skills/fuzzing
Command: npx skills add https://github.com/chromium/chromium --skill fuzzing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables teams to systematically identify and fix input-handling bugs in Chromium by creating and maintaining fuzz tests using the FuzzTest framework.

Core Features & Use Cases

  • Fuzz test creation: Add new fuzz targets that exercise parsing, state machines, and edge cases.
  • Test coverage expansion: Increase coverage across Chromium components to reduce crashes.
  • CI integration: Run fuzz tests in continuous integration to detect regressions early.

Quick Start

Start by adding a new fuzz target to an existing test file, register it in the fuzztests list, then build and run the fuzzing harness locally.

Frequently Asked Questions about fuzzing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new fuzz test for Chromium components?▼

To add a new fuzz test for Chromium, you integrate a C++ fuzzing harness and register the target in the fuzztests list using proper GN/BUILD configuration. This enables the Google FuzzTest framework to systematically exercise parsing logic and edge cases.

What is the Google FuzzTest framework used for in C++ test automation?▼

The Google FuzzTest framework is used for automated fuzz testing to identify and fix input-handling bugs in C++ code. It helps developers create fuzz targets that exercise state machines and edge cases to prevent crashes.

Does running fuzz tests in CI help detect Chromium regressions early?▼

Running fuzz tests in continuous integration detects Chromium regressions early by validating test stability automatically. This CI integration systematically exposes input-handling bugs and crashes before they reach production.

Can I expand test coverage across Chromium components using a fuzzing harness?▼

You can expand test coverage across Chromium components by adding new fuzz targets to your existing fuzzing harness. This increases automated test coverage to systematically reduce crashes and validate input-handling logic.

Do I need GN and BUILD configuration to register fuzz tests in Chromium?▼

You need proper GN and BUILD configuration to register fuzz tests in Chromium. This build-system setup is required to integrate the C++ fuzzing harness into the test automation pipeline and execute the targets.