| 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.
|
| |
|
|
|
|
|
| |
Collect code coverage for test programs.
This is likley to be needed for #6878 and seed generation workflow.
For now it's not wired into any workflow/tool and is not tested.
But this should provide most of the plumbing to wire it up.
|
| |
|
|
| |
It is not used.
|
| |
|
|
| |
Provide better errors messages on boot errors.
|
| |
|
|
| |
Fixes #6671
|
| |
|
|
|
|
|
|
|
| |
This caching is very handy when testing some dashboard features
related to stating jobs, or handling jobs completion,
or testing changes in the last steps of patching workflow.
Without caching each testing takes 10 mins,
with caching the whole workflow completes almost immidiatly .
|
| | |
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Make codeeditor error on nop changes that don't actually change the code.
Make patch testing error on empty patch.
Perhaps we need a notion of "mandatory" tools that must be called
successfully at least once... not sure yet.
|
| |
|
|
|
|
| |
Right now res.Report and res.Error seem reversed. The successful crash
report is returned into res.Error, and interrupts the normal
flow/pipeline.
|
| | |
|
| | |
|
| |
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
Use object caching instead of file caching.
This removes the need for explicit file writing/reading,
and reduces amount of error handling. Also any future changes
should be easier to do.
Add support for flow temp dirs to implement this
(repro needs temp manager workdir).
Previously repro abused the cache dir for that.
|
| |
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|