syzkaller/.gometalinter.json
Dmitry Vyukov 9fe4bdc5f1 executor: overhaul
Make as much code as possible shared between all OSes.
In particular main is now common across all OSes.
Make more code shared between executor and csource
(in particular, loop function and threaded execution logic).
Also make loop and threaded logic shared across all OSes.
Make more posix/unix code shared across OSes
(e.g. signal handling, pthread creation, etc).
Plus other changes along similar lines.
Also support test OS in executor (based on portable posix)
and add 4 arches that cover all execution modes
(fork server/no fork server, shmem/no shmem).

This change paves way for testing of executor code
and allows to preserve consistency across OSes and executor/csource.
2018-07-24 12:04:27 +02:00

43 lines
866 B
JSON

{
"vendor": true,
"tests": true,
"deadline": "9m",
"sort": ["path", "line"],
"minconstlength": 7,
"linelength": 120,
"cyclo": 40,
"duplthreshold": 63,
"skip": [
"pkg/kd",
"pkg/ifuzz/generated",
"sys/akaros/gen",
"sys/freebsd/gen",
"sys/fuchsia/gen",
"sys/linux/gen",
"sys/netbsd/gen",
"sys/windows/gen",
"sys/test/gen"
],
"enable": [
"golint",
"structcheck",
"megacheck",
"unconvert",
"deadcode",
"goconst",
"unused",
"gosimple",
"varcheck",
"misspell",
"gocyclo",
"vet",
"lll"
],
"exclude": [
"(sys/(akaros|freebsd|fuchsia|linux|netbsd|test|windows)/init.*|sys/targets/common.go).* don't use ALL_CAPS in Go names",
"exported .* should have comment",
"comment on .* should be of the form",
"(pkg/csource/generated.go|pkg/report/linux.go|pkg/build/linux_generated.go).* line is [0-9]+ characters"
]
}