1586 Commits

Author SHA1 Message Date
Andrey Konovalov
075cdcd5ea Update found_bugs.md 2017-09-26 14:04:48 +02:00
Andrey Konovalov
64247dd4cb Update found_bugs.md 2017-09-26 13:57:43 +02:00
Dmitry Vyukov
e2f1c7ed36 Makefile: add fuchsia support 2017-09-25 15:40:58 +02:00
Dmitry Vyukov
af442a22d9 executor, sys/windows: initial windows support 2017-09-25 15:19:06 +02:00
Dmitry Vyukov
255e8b5e54 pkg/ipc: windows port 2017-09-25 15:19:06 +02:00
Dmitry Vyukov
dcf893f99c pkg/osutil: windows port 2017-09-25 15:19:06 +02:00
Dmitry Vyukov
4a00221526 pkg/host: add windows stub 2017-09-25 15:19:06 +02:00
Andrey Konovalov
0ecebdccc6 Update found_bugs.md 2017-09-25 14:43:30 +02:00
Dmitry Vyukov
187270ea83 vm/qemu: fix typo 2017-09-25 13:14:32 +02:00
Dmitry Vyukov
dd56309863 sys/fuchsia: describe more syscalls 2017-09-25 08:47:48 +02:00
Dmitry Vyukov
a0fdd2e758 vm/qemu: initial multi-OS support 2017-09-25 08:47:48 +02:00
Dmitry Vyukov
e9c477a5b3 sys/syz-extract: support fuchsia 2017-09-25 08:47:48 +02:00
Dmitry Vyukov
8f8cf20bd2 syz-manager: make vmlinux optional
It's currently both optional and non optional.
We require it to be non-empty, but at the same time allow fake "-"
which effectively means "no vmlinux". Make it optional.
2017-09-23 10:02:53 +02:00
Dmitry Vyukov
997ce2252a pkg/report: suppress another android boot message 2017-09-23 08:22:53 +02:00
Andrey Konovalov
9bfa33a7b5 Update found_bugs.md 2017-09-22 19:05:14 +02:00
Andrey Konovalov
c429674a42 Update found_bugs.md 2017-09-22 14:58:06 +02:00
Dmitry Vyukov
0a5156336e pkg/csource: disable linux/386 tests
Another attempt to fix travis build.
2017-09-22 13:18:28 +02:00
Dmitry Vyukov
324664de57 pkg/repro: fix nil target in prog 2017-09-22 13:16:24 +02:00
Dmitry Vyukov
913d592f97 all: more assorted fuchsia support 2017-09-22 13:10:55 +02:00
Andrey Konovalov
c26ea367cf Update found_bugs.md 2017-09-21 18:44:14 +02:00
Andrey Konovalov
91b202e9fc Update found_bugs.md 2017-09-21 17:41:48 +02:00
Dmitry Vyukov
653022e6a9 sys/fuchsia: fix build 2017-09-21 10:31:53 +02:00
Dmitry Vyukov
f9d1a2783f Makefile: don't build 386 executor on travis
Build fails now and I don't know how to fix it.

"x86_64-linux-gnu-gcc" -o ./bin/linux_386/syz-executor executor/executor_linux.cc \
		-pthread -Wall -Wframe-larger-than=8192 -Wparentheses -Werror -O1 -g \
		"-m32" -static  -DGIT_REVISION=\"8cb7d3dcfcbe11a6d5682743816409d1c8e8f6a0+\"
In file included from /usr/include/bits/errno.h:24:0,
                 from /usr/include/errno.h:35,
                 from executor/executor_linux.cc:7:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
 #include <asm/errno.h>
2017-09-21 10:25:59 +02:00
Dmitry Vyukov
8cb7d3dcfc all: initial support for fuchsia
Nothing works, but builds.

Update #191
2017-09-20 21:19:29 +02:00
Dmitry Vyukov
d606e60dfe executor: split source per-OS
Update #191
2017-09-20 21:19:29 +02:00
Dmitry Vyukov
9cd52ccb43 Makefile: respect target os/arch in individual targets
Currently we set GOOS/GOARCH only in host/target targets.
This makes "make fuzzer TARGETARCH=arm64" do a wrong thing,
it still builds for the default value of GOARCH.
Set GOOS/GOARCH for each target individually.
2017-09-20 21:19:29 +02:00
Dmitry Vyukov
9a0ed84dca executor: remove unused headers 2017-09-20 21:19:29 +02:00
Dmitry Vyukov
c7ff68231e pkg/host: add fuchsia support 2017-09-20 21:19:29 +02:00
Andrey Konovalov
dc1c172fee Update found_bugs.md 2017-09-20 21:19:01 +02:00
Andrey Konovalov
a5bc45dbda Update found_bugs.md 2017-09-20 21:04:05 +02:00
Andrey Konovalov
6005b65aa6 Update found_bugs.md 2017-09-20 20:54:39 +02:00
Andrey Konovalov
a17ab57b02 Update found_bugs.md 2017-09-20 20:38:23 +02:00
Andrey Konovalov
b494464f32 Update found_bugs.md 2017-09-20 16:46:47 +02:00
Dmitry Vyukov
1df8f49885 travis: another guess at right packages and syntax 2017-09-20 15:30:01 +02:00
Dmitry Vyukov
4e341009db sys/linux: improve user_desc description 2017-09-20 14:01:19 +02:00
Dmitry Vyukov
0818340e80 syz-manager: don't take mutex when serving static files
Crash log serving does not touch any manager state.
2017-09-20 14:00:20 +02:00
Dmitry Vyukov
aeaa0b58b9 travis: also install 32-bit libstdc++
The build is still broken with missing C++ headers.
Let's see if this helps.
2017-09-20 13:57:36 +02:00
Dmitry Vyukov
d394531e95 dashboard/app, syz-ci: upload target OS/arch to dashboard 2017-09-19 17:00:26 +02:00
Dmitry Vyukov
62114d6064 Makefile: build target binaries into separate dirs
We currently build binaries for all targets into bin.
This makes mess in bin/ and does not allow testing of different archs.
Build target binaries into bin/OS_ARCH/ subdirs.

Host binaries are still built into bin/.

Update #333
Update #324
Update #191
2017-09-19 16:44:54 +02:00
Dmitry Vyukov
5b89a8780f travis: install cross-compilers 2017-09-19 11:34:50 +02:00
Andrey Konovalov
2bab8ad847 Update found_bugs.md 2017-09-18 19:34:56 +02:00
Dmitry Vyukov
da1873aadd sys/targets: move targets from sys package
This breaks circular dependency between:
sysgen -> sys/linux -> sys -> sysgen
With this circular dependency it is very difficult to
update format of generated descriptions because sysgen does not build.
2017-09-15 16:02:37 +02:00
Dmitry Vyukov
66393d1884 pkg/compiler: don't genererate missing syscalls
We used to generate them only because manager had no idea
what arch it is testing. So syscalls numbers had to match
between all arches.
This is not needed anymore.
Also don't generate unreferenced structs/resources.
2017-09-15 16:02:37 +02:00
Dmitry Vyukov
4f60e46e49 syz-manager: check that files we are using are not changing under us
If kernel or syzkaller binaries are rebuilt when manager uses them,
nothing good will happen. Manager can start mixing coverage from
old and new kernels, or crash on unknown syscalls.
2017-09-15 16:02:37 +02:00
Dmitry Vyukov
539e603206 syz-manager, syz-fuzzer, executor: ensure that binaries are consistent
Check that manager/fuzzer/executor are build on the same git revision,
use the same syscall descriptions and the same target arch.

Update #336
2017-09-15 16:02:37 +02:00
Dmitry Vyukov
19f9bc13d3 pkg/csource: support archs other than x86_64 2017-09-15 16:02:37 +02:00
Dmitry Vyukov
52a33fd516 prog: remove default target and all global state
Now each prog function accepts the desired target explicitly.
No global, implicit state involved.
This is much cleaner and allows cross-OS/arch testing, etc.
2017-09-15 16:02:37 +02:00
Dmitry Vyukov
25f4fe0662 vm/qemu: tune some qemu arguments based on target arch 2017-09-15 16:02:37 +02:00
Dmitry Vyukov
4503776d2b sys/syz-extract: generate build files out of tree
This does not pollute user kernel dir (we do make mrproper, though)
and enables parallel generation.
2017-09-15 16:02:37 +02:00
Dmitry Vyukov
7296cf374d sys/syz-extract: generate multiple arches at once 2017-09-15 16:02:37 +02:00