aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-build
Commit message (Collapse)AuthorAgeFilesLines
* tools/syz-build: expose ccache as cli flagRamneet Singh2024-10-241-1/+2
| | | | | While Ccache is a field in build.Params, a user of syz-build does not have the option to set it via the CLI. This PR exposes a CLI flag for ccache and passes it to build.Params.
* pkg/build/linux: support building with a custom make binaryFlorent Revest2024-10-141-1/+3
| | | | | | Certain environments might need a specific make command or wrap make calls with extra logic. This lets users provide a path to a custom make binary.
* tools/syz-build: use full cwd instead of dotAleksandr Nogikh2023-08-181-1/+5
| | | | Some OSes expect full paths.
* syz-build: don't require kernel config fileAleksandr Nogikh2023-08-181-3/+7
| | | | | syz-build implicitly requires a kernel config file to be present. Make it optional as it's not required by all syzkaller-supported OSes.
* all: ioutil is deprecated in go1.19 (#3718)Taras Madan2023-02-231-2/+1
|
* all: add support for custom linkerAleksandr Nogikh2022-10-121-0/+2
| | | | | Add this as an option to syz-ci and syz-build tools. Otherwise we cannot use clang + ld.lld for kernel builds.
* tools/syz-build: add tracing modeDmitry Vyukov2022-06-241-5/+19
| | | | | Add -trace flag that enabled build process tracing and saving of debug artefacts. Useful for debugging of #2297.
* tools/syz-build: add compiler optionAleksandr Nogikh2022-04-081-1/+2
| | | | | Let the user specify a custom compiler for building the kernel, just like it can be done in syz-ci's configs.
* all: remove pointers to pkg.build.ParamsAleksandr Nogikh2021-07-201-1/+1
| | | | | | | | | | The struct pkg.build.Params is currently primarily passed on as a pointer, which leads make it hard to see the places, where it can (and should) actually be modified. Make it all more explicit by only passing pointer references to objects of this type when the object is expected to be modified by the function. In fact, at this moment there are no such situations.
* tools/syz-build: add utilityDmitry Vyukov2021-01-291-0/+53
syz-build is a wrapper around pkg/build for testing purposes.