Andrey Konovalov
864a841818
repro: split ctx.repro() into smaller methods
2017-06-19 14:51:53 +02:00
Andrey Konovalov
02483b6e8e
repro: move duration to Result
2017-06-19 14:23:17 +02:00
Dmitry Vyukov
98877a11dd
vm/gce: fix image archive creation
...
See the added comment.
2017-06-17 18:30:12 +02:00
Dmitry Vyukov
6611b23392
syz-gce: create image dir
...
kernel.CreateImage does not create output dir.
2017-06-17 18:27:36 +02:00
Dmitry Vyukov
e130d95518
vm/gce: accept un-tar-ed image
...
vm/gce differs from other VM types in that it accepts image
in a weird, GCE-specific format (namely, image named disk.raw
is put into .tar.gz file). This makes it impossible to write
generic code that creates images for any VM types.
Make vm/gce accept just image like e.g. vm/qemu
and handle own specifics internally.
2017-06-17 17:06:29 +02:00
Dmitry Vyukov
de258e6d7e
tools/create-gce-image.sh: don't use verbose output for tar invocation
2017-06-17 15:25:29 +02:00
Dmitry Vyukov
97b58e7eae
syz-manager/mgrconfig: move sshkey from vm config to manager config
...
Sshkey is a property of image, which is in manager config.
Move sshkey to the same location as image.
The motivation for the move is as follows.
Continuous build produces an image and the key,
both need to be passed manager instance.
Continuous build system should not distinguish
different VM types and mess with their configs.
NOTE FOR USERS: this breaks manager configs again.
Hopefully the last time for now. Docs are updated.
2017-06-17 15:02:58 +02:00
Dmitry Vyukov
260cdaa2b2
syz-manager/mgrconfig: remove output param
...
It was useful only for vm/local which was removed.
The param wasn't documented and if one tries to change it,
it will break manager in obscure way (i.e. spurious
"test machine is not executing programs" crashes).
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
d5406e5fba
delete .clang-format.email
...
The format is present in pkg/csource and we generally use that.
.clang-format.email is unused as far as i know, delete it.
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
c9ee712bc8
sys/syz-extract: move from syz-extract
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
6828dc3a61
sys/syz-sysgen: from from sysgen
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
2007005ac3
sys/sysparser: move from sysparser
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
017b5dea53
pkg/symbolizer: move from symbolizer
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
949ccff832
pkg/rpctype: from from rpctype
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
68621900a3
pkg/report: move from report
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
e8e63830a6
pkg/ipc: move from ipc
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
baad3b4b02
pkg/csource: move from csource
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
ec95d17c32
pkg/cover: move from cover
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
6fd7a75a91
pkg/repro: move from pkg
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
4b2a9e225c
pkg/host: move from host
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
a853b91c58
syz-manager/mgrconfig: allow loading from memory
...
Allow loading manager config from memory.
Follow pkg/config naming convention,
i.e. LoadFile/LoadData instead of Parse.
2017-06-17 14:41:15 +02:00
Dmitry Vyukov
75c73461d8
syz-manager/config: rename to syz-manager/mgrconfig
...
We have 2 packages with the same name: pkg/config and syz-manager/config.
This leads to constant clashes. We either rename one to pkgconfig or
another to mgrconfig. This is not good and will become worse when/if
we have another program-specific config in a separate package.
Rename manager config to mgrconfig.
Other program-specific configs can use the same convention
in future -- fooconfig.
2017-06-17 14:41:10 +02:00
Dmitry Vyukov
4cc7e08628
all: use osutil.IsExist instead of os.Stat
2017-06-17 12:23:52 +02:00
Dmitry Vyukov
13c5bfcc6e
pkg/osutil: add IsExist helper function
2017-06-17 12:11:24 +02:00
Dmitry Vyukov
3e647c3552
Merge pull request #236 from xairy/up-better-guilty
...
repro: better guilty file detection
2017-06-17 10:43:40 +02:00
Dmitry Vyukov
9c23d9dfe4
Merge pull request #237 from daveti/master
...
fix the ssh port option in the doc
2017-06-17 08:57:48 +02:00
daveti
a409f5ad50
fix the ssh port option in the doc
2017-06-16 16:58:44 -04:00
Andrey Konovalov
3c0b93c7e6
repro: better guilty file detection
2017-06-16 20:59:44 +02:00
Dmitry Vyukov
619a2a8204
docs: say that Suzy-Q is not necessary
2017-06-16 13:14:39 +02:00
Dmitry Vyukov
0349e2fb7a
Merge pull request #233 from xairy/up-docs-improve-2
...
docs: various improvements
2017-06-16 13:14:12 +02:00
Dmitry Vyukov
daf82c6d9e
syz-manager: delete old corpus support
...
There was enough time to convert old corpuses to the new format.
2017-06-15 22:14:53 +02:00
Dmitry Vyukov
b43dc425e0
syz-manager: fix bug in repro logic
...
We did not check phase when creating new instances for fuzzing.
2017-06-15 22:13:19 +02:00
Dmitry Vyukov
2200ced89b
syz-manager: improve vm management during repro
...
1. Don't start reproducing crashes until we triage
all inputs from corpus and hub. This minimizes
chances of losing inputs from hub. Also allows
to faster get idea of total coverage.
2. Fix bug when vmCount%instacesPerRepro != 0.
Currently we stop the remainder of instances
and it stays idle.
2017-06-15 21:50:15 +02:00
Dmitry Vyukov
4c571f8413
pkg/kernel: add an option to provide full config for build
...
Normally config is applied on top of defconfig+kvmconfig.
This allows to provide full config that is used unmodified.
2017-06-15 18:29:47 +02:00
Dmitry Vyukov
429ff326c3
vm/qemu: update kernel command line
...
+nmi_watchdog=panic
-slub_debug=UZ
Also refactor cmd line generation code to make it more resilent to bugs.
2017-06-15 18:29:47 +02:00
Dmitry Vyukov
10d9c52cf0
tools/create-gce-image.sh: add nmi_watchdog=panic to cmd line
2017-06-15 18:29:47 +02:00
Dmitry Vyukov
c8a3e46192
pkg/git: fix git fetch command line
2017-06-15 18:29:47 +02:00
Andrey Konovalov
c1220233d8
Merge pull request #234 from xairy/up-icmp-sockets
...
sys: use consistent icmp socket syscall names
2017-06-14 20:43:34 +02:00
Andrey Konovalov
9a28b67cdd
sys: use consistent icmp socket syscall names
2017-06-14 19:51:56 +02:00
Andrey Konovalov
71f516782b
docs: various improvements
2017-06-14 18:05:39 +02:00
Andrey Konovalov
7cd61f3553
Merge pull request #232 from xairy/up-docs-improve
...
Move parts of README to docs
2017-06-14 16:14:10 +02:00
Andrey Konovalov
15826f5087
docs: move parts of README to docs
2017-06-14 16:13:33 +02:00
Dmitry Vyukov
3c443a11e8
Merge pull request #230 from a13xp0p0v/hub-http-fix
...
syz-hub: fix copy-paste error in httpSummary()
2017-06-14 15:05:32 +02:00
Alexander Popov
7ebca77f72
syz-hub: fix copy-paste error in httpSummary()
...
Also mention Alexander Popov in AUTHORS and CONTRIBUTORS.
2017-06-14 15:59:45 +03:00
Andrey Konovalov
fbec6b14d4
Merge pull request #231 from xairy/up-docs
...
Move all documentation to docs/
2017-06-14 14:13:36 +02:00
Andrey Konovalov
4731d5a4ac
docs: minor clean up
2017-06-14 14:08:30 +02:00
Andrey Konovalov
ffc74dde6e
docs: move setup pages from wiki
2017-06-14 13:56:18 +02:00
Andrey Konovalov
48f768328f
docs: move exeprog, prog2c, repro page from wiki
2017-06-14 13:44:23 +02:00
Dmitry Vyukov
7b96fa44e1
executor: handle EACCES errno when opening /dev/kvm in test
2017-06-14 13:43:53 +02:00
Andrey Konovalov
e9b5b3f4c7
docs: move kernel configs page from wiki
2017-06-14 13:40:50 +02:00