[google/syzkaller] f5bcc8: pkg/csource: add call argument annotations to gene...

0 views
Skip to first unread message

github-merge-queue[bot]

unread,
Aug 4, 2025, 8:26:31 AM8/4/25
to syzk...@googlegroups.com
Branch: refs/heads/gh-readonly-queue/master/pr-6195-abdcb21383cc97dd3eb98eaa27189415be7d8199
Home: https://github.com/google/syzkaller
Commit: f5bcc8dc6eb21df90aeb443032779df3e73c53a1
https://github.com/google/syzkaller/commit/f5bcc8dc6eb21df90aeb443032779df3e73c53a1
Author: Ethan Graham <ethan...@google.com>
Date: 2025-08-04 (Mon, 04 Aug 2025)

Changed paths:
M CONTRIBUTORS
M pkg/csource/csource.go
M pkg/csource/csource_test.go
M pkg/csource/options.go
A pkg/csource/syscall_generation_test.go
A pkg/csource/testdata/0
A pkg/csource/testdata/1
A pkg/csource/testdata/2
M prog/prog.go
M tools/syz-prog2c/prog2c.go

Log Message:
-----------
pkg/csource: add call argument annotations to generated C-source files

The structure of arguments passed into syscalls is often hard to parse
since it is memcpy'd into mmap'd regions. Structural relations are often
lost in translation, resulting in reproducers that take longer for a
developer to understand.

This patch adds functionality for parsing syscall arguments semantically and
emitting a structured and human-readable comment which is inserted before each
syscall in the resulting C-source.



To unsubscribe from these emails, change your notification settings at https://github.com/google/syzkaller/settings/notifications

github-merge-queue[bot]

unread,
Aug 4, 2025, 8:39:03 AM8/4/25
to syzk...@googlegroups.com
Branch: refs/heads/master
Reply all
Reply to author
Forward
0 new messages