ohos-test-fuzz-generation

Official

Generate secure FUZZ tests and corpora for C/C++

Authoropenharmonyinsight
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you automatically generate LLVM libFuzzer-based FUZZ test cases for C/C++ APIs, then enforces a strict security and safety-focused review so your fuzzing effort is valid, effective, and compliant.

Core Features & Use Cases

  • FUZZ Test Generation Pipeline: analyzes target class APIs, generates a standardized fuzz project (fuzzer skeleton + driver + corpus scaffolding), and fills in parameter construction logic.
  • Semantic Corpus (seed) Generation: produces meaningful initial corpus data based on parameter types and naming patterns to improve fuzz efficiency.
  • 26-Rule Security & Compliance Review with Reports: runs a set of automated checks (including complex parameter construction, IPC stub handling, size/data misuse, and fuzz-driver safety) and can guide automatic fixes for supported rules.
  • OpenHarmony / Linux / Android Compatibility: designed to work with OpenHarmony build ecosystems and common LLVM libFuzzer setups.

Quick Start

Use the skill to generate FUZZ tests for your target class by providing its header path and class name, then generate seeds and a compliance report in one workflow.

Dependency Matrix

Required Modules

tools/fuzz_generator.pytools/fuzz_check.pytools/seed_generator.pytools/generate_report.py

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ohos-test-fuzz-generation
Download link: https://github.com/openharmonyinsight/openharmony-skills/archive/main.zip#ohos-test-fuzz-generation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.