| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Currently we added custom code to kernel build action,
and few others to expose verbose errors from executed binaries (notably make).
But lots of other binary executions missing this logic,
e.g. for git failure we currently see unuseful:
failed to run ["git" "fetch" "--force" "--tags" exit status 128
Instead of adding more and more custom code to do the same,
remove the custom code and always add verbose output
in syz-agent and tools/syz-aflow.
|
| |
|
|
|
|
|
| |
We run the script in the source dir, so it created .config file there
and made the source tree non-clean, which breaks out-of-tree builds
(and does not achieve the original goal).
Run it in the build dir.
|
| |
|
|
|
|
|
| |
We don't fuzz x32 arch, and it's not very interesting,
but building with this config and ld.lld fails with the following error:
ld.lld: error: arch/x86/entry/vdso/vgetrandom-x32.o:(.note.gnu.property+0x0): data is too short
ld.lld: error: arch/x86/entry/vdso/vgetcpu-x32.o:(.note.gnu.property+0x0): data is too short
|
| | |
|
| |
|
|
| |
The action checks out a temp dir for code edits and patch testing.
|
| |
|
|
|
| |
While we are at it, let's also make it a constant to make the intent
clearer.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
We currently duplicate list of source extensions in the build action
and codesearch tool. Unify the lists.
|
| |
|
|
|
|
|
|
|
|
| |
Flow errors denote failure of the flow itself,
rather than an infrastructure error. A flow errors mean an expected
condition in the flow when it cannot continue, and cannot produce
expected outputs. For example, if we are doing something with the kernel,
but the kernel build fails. Flow errors shouldn't be flagged in
Fixes #6610
|
| |
|
|
|
| |
Paths passed to filepath.WalkDir are absolute (include the dir prefix), account for that.
Strings returned by filepath.Ext include the dot, account for that as well.
|
| |
|
|
|
| |
Keep vmlinux for debug info/addr2line.
Keep compile_commands.json, we need it for codesearch.
|
| | |
|
| |
|