| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Any is the preferred over interface{} now in Go.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
See https://www.phoronix.com/news/Linux-6.18-Transitional .
First used in:
config CFI_CLANG
bool
transitional
help
Transitional config for CFI_CLANG to CFI migration.
|
| |
|
|
| |
./tools/syz-env bin/golangci-lint run ./... --fix
|
| |
|
|
|
|
|
|
|
|
| |
The most frustrating part of updating syzbot configs is figuring out
what config options (possibly transivitely) selected the configs we
wanted to stay disabled.
For each "X is present in the final config" message, auto-generate
a small list of enabled config options that may have transitively
"select"ed X.
|
| |
|
|
|
|
|
| |
Use the latest revisions for existing configs.
Add the new ChromeOS 6.6 config.
No longer generate ChromeOS 5.4 configs.
Switch ChromeOS configs to clang.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
1) Use the generic bisection implementation in pkg/bisect. It adds the
support of identifying several necessary config diffs at once.
2) For now, limit the number of minimization iterations to 6. It's a
lengthy process and we don't want to spend too much time doing this.
3) Bisect over leaf configuration options -- that is, those no other
config depends upon. This should make diff split during bisection
more reliable.
4) Save all intermediate configs to the debug files folder.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Expand KCONFIG_EXT_PREFIX environment variable in kconfig
include path to an empty string. That's required for Android-5.10 build.
Signed-off-by: Tadeusz Struk <tadeusz.struk@linaro.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
linux-next contains "Kconfig: Add option for asm goto w/ tied outputs to
workaround clang-13 bug", which added this elaborate config variable to
init/Kconfig:
| config CC_HAS_ASM_GOTO_TIED_OUTPUT
| depends on CC_HAS_ASM_GOTO_OUTPUT
| # Detect buggy gcc and clang, fixed in gcc-11 clang-14.
| def_bool $(success,echo 'int foo(int *x) { asm goto (".long (%l[bar]) - .\n": "+m"(*x) ::: bar); return *x; bar: return 0; }' | $CC -x c - -c -o /dev/null)
The current validation in parser.go will complain with "bad quoted
character", because of the '\n' in the quoted string.
Fix it by allowing '\n'.
|
| |
|
|
|
| |
An older kernel uses source directive w/o quotes,
option with a quoted value and $SRCDIR without parens.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pkg/cover, syz-manager: show coverage summary
The funccover or cover page is not easy for statistic purpose.
So add /cover?type=rawfiles to show coverage based on each file.
And /cover?type=table page to show coverage for group of components.
If driver_path_map.json exists, /cover?type=table can show component coverage.
Format example:
{
"all": [ "/" ],
"audio": [
"/techpack/audio/asoc",
"/techpack/audio/dsp",
"/techpack/audio/ipc",
"/sound/core"
]
}
If driver_path_map.json not exist, it will show one line summary.
* pkg/cover: use subsystem naming
* syz-manager: use /subsystemcover and /filecover
* pkg/cover: use subsystem from config
* pkg/mgrconfig: add kernel_subsystem
* pkg/cover, tools/syz-cover: fix make test
* all: fix presumit errors
* pkg/cover, syz-manager: fix subsystem
|
| |
|
|
|
| |
Store config options identified using DebugTracer. Also change bisection
and configuration minimization code to use new DebugTracer.
|
| |
|
|
|
|
|
|
|
|
|
| |
Test for case described in:
https://groups.google.com/g/syzkaller/c/c1J1kzzW7Ew/m/CeyEJm04AQAJ
It seems to work as is (mostly).
Fix parsing of the very last kconfig config (currently it's dropped).
s/menuend/endmenu/ in error message.
Sort dependencies so that we can express the test.
But none of this should have affected actual config minimization.
|
| |
|
|
|
|
| |
Kconfig depends on the target arch.
Add target argument for Kconfig parsing.
Resolve $(SRCARCH) properly (previously we always assumed x86_64).
|
| |
|
|
| |
dashboard/app is still on Go 1.11 :(
|
| |
|
|
|
| |
Always move all non-tristate configs from full because
we don't minimize them.
|
| |
|
|
|
|
|
|
|
|
| |
Minimize finds an equivalent with respect to the provided predicate, but smaller config.
It accepts base (small) and full (large) config. It is assumed that the predicate returns true for the full config.
It is also assumed that base and full are not just two completely arbitrary configs, but full it produced from base
mostly by adding more configs. The minimization procedure thus consists of figuring out what set of configs that
are present in full and are not present in base affect the predicate.
Update #2171
|
| |
|
|
| |
Update #2171
|
| |
|
|
| |
Update #2171
|
|
|
kconfig package is supposed to parse Kconfig/.config files
and provide some algorithms on top.
This commit includes only parser helper and expression parsing for starters.
Update #2171
|