← スキル一覧に戻る

syzkaller-build-loop
by benchflow-ai
syzkaller-build-loopは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。
⭐ 251🍴 170📅 2026年1月23日
SKILL.md
name: syzkaller-build-loop description: Full build workflow for adding new syscall descriptions to syzkaller
Syzkaller Description Workflow
Full Build Loop for New Descriptions
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
Quick Rebuild (After Minor Edits)
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.
Common Errors
Unknown type
unknown type foo_bar
- Type not defined, or defined after first use
- Define all types before using them
Constant not available / defined for none of the arches
SOME_CONST is defined for none of the arches
- The constant isn't in the
.constfile - Add it to
sys/linux/your_file.txt.constwith the correct value
Missing reference
undefined reference to 'some_type'
- Type defined in another file not being found
- Check includes or existing type definitions
Exploring Existing Code
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 patterns
Files to Reference
sys/linux/socket.txt- Network types (ifreq_t, sockaddr, etc.)sys/linux/sys.txt- Basic syscall patternssys/linux/fs.txt- File operations
スコア
総合スコア
65/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
✓人気
GitHub Stars 100以上
+5
○最近の活動
3ヶ月以内に更新がある
0/10
✓フォーク
10回以上フォークされている
+5
○Issue管理
オープンIssueが50未満
0/5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です