aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
Commit message (Collapse)AuthorAgeFilesLines
...
* pkg/aflow/action/kernel: add checkout actionDmitry Vyukov2026-01-091-0/+90
|
* pkg/aflow/action/crash: add crash repro toolDmitry Vyukov2026-01-091-0/+115
|
* pkg/aflow/tool/codesearcher: add packageDmitry Vyukov2026-01-091-0/+171
|
* pkg/aflow: add package for agentic workflowsDmitry Vyukov2026-01-0914-0/+2010
|
* pkg/osutil: add DiskUsage functionDmitry Vyukov2026-01-097-103/+73
| | | | DiskUsage returns total recursive disk usage of the dir (similar to du -s).
* pkg/report/testdata: regenerateTaras Madan2026-01-0930-32/+15
| | | | Update all the test files. I removed test.Equals() check to do it for all the files at once.
* pkg/report: tune tests generationTaras Madan2026-01-091-1/+7
| | | | | 1. We use empty TITLE and TITLE absence. Let's use TITLE absence by default. 2. FRAME header shouldn't be generated, only updated.
* pkg/coveragedb: add subsystem information about the new filesTaras Madan2026-01-051-1/+19
| | | | | Current logic updates information about the already knows files. Additionally we want to see subsystem information about all the created/added files.
* pkg/coveragedb: fix docsTaras Madan2026-01-051-1/+1
|
* dashboard/app: add support for AI workflowsDmitry Vyukov2026-01-051-1/+23
| | | | | | | | Support for: - polling for AI jobs - handling completion of AI jobs - submitting job trajectory logs - basic visualization for AI jobs
* pkg/aflow/ai: add packageDmitry Vyukov2026-01-051-0/+12
|
* pkg/aflow/trajectory: add packageDmitry Vyukov2026-01-051-0/+112
|
* all: remove unused nolint directivesDmitry Vyukov2026-01-0211-15/+6
|
* prog: support snapshot-only callsDmitry Vyukov2026-01-021-17/+19
| | | | Update #5308
* pkg/report: use existing osutil helpers in titleStat codeDmitry Vyukov2026-01-022-34/+8
|
* pkg/manager/html: fix sorting by "Repro Attempts" columnDmitry Vyukov2026-01-021-2/+2
| | | | | Sorting using numSort for column with empty non-number rows does not work. Always print repro attemps, but make 0 inactive (gray).
* pkg/rpcserver: fix race in local server shutdownDmitry Vyukov2025-12-291-10/+21
| | | | | | | | | | | | | | Currently we stop both executor binary and the RPC server concurrently due to use of errgroup.WithContext. As the result, executor may SYZFAIL on the closed network connection before it's killed. This race leads to very high percent (25%) of failed repro attempts for my local syz-manager runs. When we run syz-execprog with Repeat=false, the race triggers frequently. May have something to do with heavily instrumented kernel where some operations may take longer (e.g. killing syz-executor and stopping all of its threads). This should also fix #6091
* pkg/vcs: reduce cyclomatic complexity link funcDmitry Vyukov2025-12-291-47/+63
|
* pkg/vcs: support git@github.com reposDmitry Vyukov2025-12-292-0/+15
|
* pkg/tool: add ServeHTTP functionDmitry Vyukov2025-12-291-0/+17
| | | | Dedup code in syz-ci and syz-hub.
* pkg/instance: fix 386 repros/jobsDmitry Vyukov2025-12-291-3/+2
| | | | | | | | | | | | All repros and jobs that use syz rerpos are broken for linux/amd64/386 since Mar 2022 with: SYZFAIL: failed to recv rpc aborting RPC server: mismatching manager/executor arches: amd64 vs 386 The problem is that ExecProgInstance.RunSyzProgFile passes sysTarget.Arch (which is VMArch) to syz-execprog, so it expects executor to be amd64. Restore the orignal logic.
* all: use any instead of interface{}Dmitry Vyukov2025-12-2234-82/+82
| | | | Any is the preferred over interface{} now in Go.
* pkg/mgrconfig: export defaultValues functionDmitry Vyukov2025-12-181-3/+3
| | | | It may be useful if the config value is synthesised programmatically.
* pkg/instance: improve comment about returned errorsDmitry Vyukov2025-12-181-2/+2
| | | | | We return pointers rather than structs directly, this is important if the errors are casted.
* all: replace egrep with grep -EAndrew Donnellan2025-12-101-1/+1
| | | | | | | | | | The egrep command has been deprecated in GNU Grep since 2007, and nowadays using egrep rather than grep -E will print a warning to the user, which is very annoying. Replace all usages of egrep with grep -E. Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
* pkg/flatrpc: run make generatePimyn Girgis2025-12-032-664/+873
|
* pkg/report: ignore the fast_dput/dput framesPimyn Girgis2025-12-013-0/+123
| | | | | | | fast_dput and dput are too generic. This causes several different bugs to be merged into one. See: https://syzkaller.appspot.com/bug?extid=b74150fd2ef40e716ca2 Ingore the fast_dput/dput frames when selecting the bug title.
* pkg/report: adapt to the new WARN formatAleksandr Nogikh2025-11-264-5/+309
| | | | | | | | | The format has been changed recently: https://lore.kernel.org/all/20251110114633.202485143@infradead.org/ This commit addresses the duplicates we currently see among the linux-next bugs, but likely there are more. We'll fix it once we notice them.
* pkg/csource: exclude auto-generated syscalls from testsAleksandr Nogikh2025-11-241-6/+10
| | | | | | | | | | | | | Auto-generated syscall descriptions currently do not properly mark arch-specific syscalls like socketcall (which is only available on 32 bit systems), which leads to TestGenerate breakages. Until the syz-declextract tool is fixed and descriptions are re-generated, don't use such calls in TestGenerate tests. It has recently caused numerous syzkaller update erorrs on syzbot. Cc #5410. Closes #6468.
* pkg/mgrconfig: export SplitTarget functionDmitry Vyukov2025-11-241-22/+20
| | | | It will be useful for new syz-agent binary in the future.
* pkg/osutil: move Semaphore from pkg/instanceDmitry Vyukov2025-11-244-40/+48
| | | | | | | | Semaphore is a very low-level primitive type, while pkg/instance is a very high-level package with lots of deps. Semaphore does not belong there, and may lead to cyclic deps if we use it more. Move it to pkg/osutil. It's not really OS-specific, but we don't have a better package.
* pkg/updater: factor out of syz-ciDmitry Vyukov2025-11-241-0/+324
| | | | | | Factor syzkaller updating functionality out of syz-ci so that it can be reused in other binaries. No functional changes intended.
* pkg/hash: support hashing stringsDmitry Vyukov2025-11-241-1/+6
| | | | | | | Currently passing wrong types (e.g. a string) to hash.Hash/String leads to silent misbehavior: the part is ignored in the hash. This is a very bad failure mode. Panic loudly. And support hashing strings.
* pkg/build: build starnix in debug modeLaura Peskin2025-11-211-0/+1
| | | | | | | Some debug features, like dynamic mutex cycle detection, are no longer included by the default build config. Add the --debug flag to fx set in order to turn these features back on.
* pkg/codesearch: add skeleton for code searching toolDmitry Vyukov2025-11-2022-1/+506
| | | | | | | | | | | | | | Add a clang tool that is used for code indexing (tools/clang/codesearch/). It follows conventions and build procedure of the declextract tool. Add pkg/codesearch package that aggregates the info exposed by the clang tools, and allows doing simple queries: - show source code of an entity (function, struct, etc) - show entity comment - show all entities defined in a source file Add tools/syz-codesearch wrapper tool that allows to create index for a kernel build, and then run code queries on it.
* pkg/clangtool: allow final verification of outputDmitry Vyukov2025-11-203-4/+61
| | | | | | | Let tools verify that all source file names, line numbers, etc are valid/present. If there are any bogus entries, it's better to detect them early, than to crash/error much later when the info is used.
* pkg/build: update fuchsia image type in starnix build scriptglpesk2025-11-201-1/+1
| | | | | | | Fuchsia product bundles have switched to including only sparse fxfs images, and the --image-type flag value that we were previously passing to ffx product get-image-path is now obsolete. Replaced with the name of the new option referring to the sparse image.
* pkg/clangtool/tooltest: add LoadOutput helperDmitry Vyukov2025-11-172-16/+16
| | | | | Add LoadOutput helper to use in future commits, and switch to osutil.ReadJSON helper.
* pkg/clangtool/tooltest: add packageDmitry Vyukov2025-11-171-0/+103
| | | | Factor out common clang tool testing helpers from the declextract tool test.
* pkg/clangtool: make more genericDmitry Vyukov2025-11-176-61/+68
| | | | Make it possible to use pkg/clangtool with other types than declextract.Output.
* pkg/osutil: add Read/ParseJSON functionsDmitry Vyukov2025-11-172-0/+40
|
* build/gvisor: use make to build runscAndrei Vagin2025-11-061-53/+18
| | | | Signed-off-by: Andrei Vagin <avagin@google.com>
* pkg/mgrconfig: ensure reproduce is set to false when type is set to nonePimyn Girgis2025-11-041-0/+5
|
* pkg/manager: omit fs images from big coverage reportsAleksandr Nogikh2025-11-031-14/+52
| | | | | | | | | In the presence of numerous program seeds that mount fs images, our html coverage reports end up being as big as 1GB, which makes it problematic to render/manipulate them in the web browser. Adjust coverage report generation: once the total size of program seeds exceeds 100MB, switch to the compact seed serialization mode.
* pkg/email: add test for git patches containing empty linesPimyn Girgis2025-11-031-0/+34
|
* pkg/email: parse diff more tolerablyPimyn Girgis2025-11-031-2/+6
| | | | | Accept empty lines as part of a diff. Fixes #6403
* pkg/report: add test for kmemleak with crc hashPimyn Girgis2025-11-031-0/+36
| | | | KMEMLEAK now prints a crc hash. Add a test to ensure we can properly parse it.
* pkg/report: support optional CRC in backtrace linesPimyn Girgis2025-11-031-2/+3
| | | | | | | | At some point kmemleak started adding a CRC checksum to the "backtrace:" line in memory leak reports. The existing regular expression did not account for this, causing parsing to fail for these reports. Update the regex to make the CRC component optional, allowing reports both with and without the checksum to be parsed correctly.
* pkg/build: extract Rust build errorsAleksandr Nogikh2025-11-032-0/+21
| | | | Add a rust error regexp and a test to verify the resulting report.
* pkg/report: don't print empty FRAME in failing testsTaras Madan2025-10-301-5/+5
| | | | | There is no need to see empty FRAME: field content in failing pkg/report tests. This change allow us to remove 1 parameter.