[INFO] vock: KCOV coverage toolkit using LD_PRELOAD, attachable to arbitrary userspace program

10 views
Skip to first unread message

Yunseong Kim

unread,
Sep 23, 2025, 2:36:19 PM (7 days ago) Sep 23
to kasa...@googlegroups.com, syzk...@googlegroups.com
Hi,

a new userspace project named vock (anagram of kcov) [1] is available to
support Linux kernel coverage analysis.

vock (an anagram of kcov) provides a lightweight wrapper that can attach to
arbitrary userspace programs. By using LD_PRELOAD, it collects KCOV coverage
transparently, while KCOV REMOTE coverage is obtained through a dedicated
driver program. After the target command finishes, the collected coverage
is reported directly in the terminal.

Example usage:

$ vock mkdir mydir
$ vock smbclient //server/share -c 'put local_filename remote_filename'

Requirements:
- The kernel must be built with CONFIG_KCOV and CONFIG_DEBUG_INFO enabled.

A demonstration video is available [2]. vock repository details can be
found at github [1].

[1] https://github.com/kzall0c/vock
[2] https://youtu.be/QvWtFuQy2r8
Reply all
Reply to author
Forward
0 new messages