syzkaller-build-loop
Full build workflow for adding new syscall descriptions to syzkaller
npxskills add benchflow-ai/skillsbench--skill syzkaller-build-loopLoading…
Full build workflow for adding new syscall descriptions to syzkaller
npxskills add benchflow-ai/skillsbench--skill syzkaller-build-loopLoading…
When adding new syscall descriptions, follow this workflow:
cd /opt/syzkaller
# 1. Write/edit your .txt file in sys/linux/
# 2. Create a .const file with constant values (see syz-extract-constants skill)
# The .const file should be named: sys/linux/your_file.txt.const
# 3. Compile descriptions
make descriptions
# 4. Build syzkaller
make all
If you only changed descriptions (not constants):
cd /opt/syzkaller
make descriptions # Runs syz-sysgen to compile descriptions
If you add new constants, update the .const file first.
unknown type foo_bar
SOME_CONST is defined for none of the arches
.const filesys/linux/your_file.txt.const with the correct valueundefined reference to 'some_type'
Find examples of patterns:
grep -r "pattern" /opt/syzkaller/sys/linux/
Useful searches:
resource fd_ - How other fd resources are definedioctl\$ - Ioctl definition patternsread\$ / write\$ - Read/write specializationsstruct.*{ - Struct definition patternssys/linux/socket.txt - Network types (ifreq_t, sockaddr, etc.)sys/linux/sys.txt - Basic syscall patternssys/linux/fs.txt - File operationsCreate or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).