diff options
| author | Florent Revest <revest@chromium.org> | 2026-01-16 13:56:33 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2026-01-23 08:38:26 +0000 |
| commit | 3f5b74737ecadb924b7ab9404db79b9992767a64 (patch) | |
| tree | f3ef60f55b91c838ec6ed33b89eb27d6d89edea0 /pkg/aflow/tool/codeexpert/codeexpert.go | |
| parent | 7556b6ec92d0a9284dc0f5da854626736bca5a47 (diff) | |
pkg/aflow/action/kernel/build: log build errors
Currently, when the kernel build fails, syz-aflow prints something along
the line of:
failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "36"
"ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=workdir/cache/build/1c6c481ef478edbb8bf3afb9d73e9ff157b1a204"
"bzImage" "compile_commands.json"]: exit status 2
Which is not particularly helpful, especially because the build
directory gets immediately wiped out and the source directory does not
contain the extracted .config which makes reproduction especially
annoying.
The -s flag makes make "silent", meaning that it only prints errors and
not all successfully built compilation units, which keeps the logs more
concise.
Diffstat (limited to 'pkg/aflow/tool/codeexpert/codeexpert.go')
0 files changed, 0 insertions, 0 deletions
