syz-extract-constants

Community

Extract kernel constants for syzkaller syzlang

AuthorKaiserWhoLearns
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Kernel fuzzing requires accurate constants (ioctl numbers, flags) to generate valid syzkaller programs. This skill provides two workflows: manual .const files for environments without kernel sources, and the syz-extract tool to pull values from kernel headers when sources are available.

Core Features & Use Cases

  • Manual constants workflow: Define a .const file alongside your syzlang description to pin constant values per architecture and ensure consistency.
  • Automated extraction workflow: Use syz-extract to pull constants from kernel headers and integrate them into syzkaller task descriptions.
  • Use Case: When adding support for new kernel features in syzkaller descriptions, this skill guarantees correct ioctl numbers and kernel constant values across multiple files.

Quick Start

Choose either manual constants file workflow or run syz-extract with kernel headers when available to obtain constants.

Dependency Matrix

Required Modules

None required

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: syz-extract-constants
Download link: https://github.com/KaiserWhoLearns/skillsbench/archive/main.zip#syz-extract-constants

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.