Syzlang Ioctl Basics
Syzkaller syzlang syntax basics for describing ioctl syscalls
Install
npx skills add UCSB-NLP-Chang/Skill-Usage --skill syzlang-ioctl-basicsgit clone --depth 1 https://github.com/UCSB-NLP-Chang/Skill-Usage.git /tmp/Skill-Usage
mkdir -p ~/.claude/skills
cp -r /tmp/Skill-Usage/tasks/syzkaller-ppdev-syzlang/environment/skills/syzlang-ioctl-basics ~/.claude/skills/syzlang-ioctl-basicsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Syzlang Ioctl Basics
Syzkaller's description language (syzlang) describes syscalls for fuzzing.
Description files are located at `/opt/syzkaller/sys/linux/*.txt`.
## Syscall Syntax
Basic form:
```
syscall_name(arg1 type1, arg2 type2, ...) return_type
```
Specialized syscalls use `$` suffix:
```
syscall$VARIANT(args...) return_type
```
## Common Type Patterns
| Pattern | Meaning |
|---------|---------|
| `const[VALUE]` | Fixed constant value |
| `flags[flag_set, type]` | Bitfield from flag set |
| `ptr[direction, type]` | Pointer (in, out, inout) |
| `intptr[min:max]` | Integer pointer with range |
| `int8`, `int16`, `int32` | Fixed-size integers |
| `int16be`, `int32be` | Big-endian integers |
| `array[type]` | Variable-length array |
| `array[type, count]` | Fixed-length array |
## Ioctl Patterns
For ioctls with output:
```
ioctl$CMD(fd fd_type, cmd const[CMD], arg ptr[out, int32])
```
For ioctls with input:
```
ioctl$CMD(fd fd_type, cmd const[CMD], arg ptr[in, struct_type])
```
For simple value ioctls:
```
ioctl$CMD(fd fd_type, cmd const[CMD], arg intptr[0:1])
```
For ioctls using ifreq structure (from socket.txt):
```
ioctl$CMD(fd fd_type, cmd const[CMD], arg ptr[in, ifreq_t[flags[flag_set, int16]]])
```
## Struct Definitions
Structs must have typed fields:
```
struct_name {
field1 type1
field2 type2
}
```
## Flag Sets
Define reusable flag sets:
```
flag_set_name = FLAG1, FLAG2, FLAG3
```
Then use with `flags[flag_set_name, int16]`.Details
- Skill name
syzlang-ioctl-basics- Repository
- UCSB-NLP-Chang/Skill-Usage
- Path
tasks/syzkaller-ppdev-syzlang/environment/skills/syzlang-ioctl-basics/SKILL.md- Repo updated
- 8 April 2026
FAQ
What does the Syzlang Ioctl Basics skill do?
Syzkaller syzlang syntax basics for describing ioctl syscalls
How do I install the Syzlang Ioctl Basics skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add UCSB-NLP-Chang/Skill-Usage --skill syzlang-ioctl-basics. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Syzlang Ioctl Basics popular?
It lives in UCSB-NLP-Chang/Skill-Usage, which has 49 GitHub stars and 5 forks.
Related skills
Pubchem Database
49UCSB-NLP-Chang/Skill-Usage
Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.
Pymatgen
49UCSB-NLP-Chang/Skill-Usage
Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.
Rdkit
49UCSB-NLP-Chang/Skill-Usage
Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom sanitization, specialized algorithms.
Threat Detection
49UCSB-NLP-Chang/Skill-Usage
Exact detection thresholds for identifying malicious network patterns including port scans, DoS attacks, and beaconing behavior.
Suricata Rules Basics
49UCSB-NLP-Chang/Skill-Usage
Core building blocks of Suricata signatures and multi-condition DPI logic
Usgs Data Download
49UCSB-NLP-Chang/Skill-Usage
Download water level data from USGS using the dataretrieval package. Use when accessing real-time or historical streamflow data, downloading gage height or discharge measurements, or working with USGS station IDs.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.