Dmitry Vyukov
3874fcc323
Update setup_linux-host_qemu-vm_arm64-kernel.md
2017-10-10 14:19:49 +02:00
Andrey Konovalov
9a2368f5f5
Update found_bugs_usb.md
2017-10-10 13:31:42 +02:00
Dmitry Vyukov
7dabf63f14
Update setup_linux-host_android-device_arm64-kernel.md
2017-10-10 12:10:38 +02:00
Dmitry Vyukov
354c324465
syz-fuzzer: don't send/check CallIndex for inputs
...
The call index check episodically fails:
2017/10/02 22:07:32 bad call index 1, calls 1, program:
under unknown circumstances. I've looked at the code again
and don't see where/how we can mess CallIndex.
Added a new test for minimization that especially checks resulting
CallIndex.
It would be good to understand what happens, but we don't have
any reproducers. CallIndex is actually unused at this point.
Manager only needs call name. So remove CallIndex entirely.
2017-10-10 10:41:27 +02:00
Andrey Konovalov
2ef9fcaf18
Update found_bugs_usb.md
2017-10-09 20:01:39 +02:00
Andrey Konovalov
215ea05dec
Update found_bugs_usb.md
2017-10-09 19:59:03 +02:00
Andrey Konovalov
6dd3a4f915
Update found_bugs_usb.md
2017-10-09 19:54:44 +02:00
Andrey Konovalov
059272bbad
Update found_bugs_usb.md
2017-10-09 14:25:29 +02:00
Andrey Konovalov
fcee0e7996
Update found_bugs_usb.md
2017-10-09 14:17:06 +02:00
Andrey Konovalov
94a4afaf66
Update found_bugs_usb.md
2017-10-09 13:57:44 +02:00
Andrey Konovalov
ff01a7626a
Update found_bugs.md
2017-10-09 13:22:15 +02:00
Andrey Konovalov
e3d3993445
Create found_bugs_usb.md
2017-10-09 13:22:01 +02:00
Dmitry Vyukov
179a860885
all: basic freebsd support
...
For now we just make Go part build for freebsd.
2017-10-02 14:17:32 +02:00
Dmitry Vyukov
5ac303b525
vm/qemu: add freebsd support
2017-10-02 13:57:04 +02:00
Dmitry Vyukov
d49f04b345
tools/syz-prog2c: import targets
...
Currently syz-prog2c is broken as it does not import any targets.
Import sys package.
2017-10-02 13:57:04 +02:00
Dmitry Vyukov
1cfc524354
syz-fuzzer: use osutil.HandleInterrupts instead of custom code
...
We already have osutil.HandleInterrupts for this.
Simplifies porting to new OSes.
2017-10-02 13:57:04 +02:00
Dmitry Vyukov
2f204f6b96
Makefile: per-install packages during arch build
...
We currently build fuzzer+stress+execprog per target,
since packages are not installed we build everything 3 times.
This takes time. Install packages before building binaries.
2017-10-02 13:57:04 +02:00
Dmitry Vyukov
eb97aa0610
executor: support fragmentation in syz_emit_ethernet
...
A recent linux commit "tun: enable napi_gro_frags() for TUN/TAP driver"
added support for fragmentation when emitting packets via tun.
Support this feature in syz_emit_ethernet.
2017-10-02 13:56:36 +02:00
Andrey Konovalov
ffd2a08fd9
Update found_bugs.md
2017-10-02 13:51:08 +02:00
Dmitry Vyukov
1b68e030d8
sys/fuchsia: add more descriptions
2017-10-02 10:53:28 +02:00
Billy Lau
d335103a64
sys/linux: include additional header to ion.txt
...
This helps with resolving missing AT_FDCWD const.
2017-09-29 08:51:34 +02:00
Andrey Konovalov
61dd85c0cf
Update found_bugs.md
2017-09-28 20:00:43 +02:00
Dmitry Vyukov
8136bdad2f
pkg/kd: add KD protocol decoder
...
Very primitive decoder that only decodes amd64 exceptions.
Use it in vm/gce. Now crashes contain something more or less
reasonable which is caught by manager as crash:
BUG: first chance exception 0x80000003
&kd.stateChange64{state:0x3030, processorLevel:0x6, processor:0x0,
numProcessors:0x2, thread:0xffff9c0bd015e080, pc:0xfffff8017615c380,
exception:kd.exception64{code:0x80000003, flags:0x0, record:0x0,
address:0xfffff8017615c380, numParams:0x1, unused:0x0, params:[15]uint64{
0x0, 0x40, 0xfffff801768699e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0}, firstChance:0x1}, report:kd.controlReport{
dr6:0xffff0ff0, dr7:0x400, eflags:0x86, numInstr:0x10, reportFlags:0x3,
instr:[16]uint8{0xcc, 0xc3, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xf, 0x1f,
0x84, 0x0, 0x0, 0x0, 0x0, 0x0}, cs:0x10, ds:0x2b, es:0x2b, fs:0x53}}
2017-09-28 16:53:58 +02:00
Dmitry Vyukov
a13111c7f3
docs: assorted windows instructions fixes
2017-09-28 16:53:58 +02:00
Dmitry Vyukov
e0e6908d3f
vm/gce: fix GCE image check
2017-09-28 16:53:58 +02:00
Andrey Konovalov
404e0fab59
Update found_bugs.md
2017-09-28 13:39:19 +02:00
Dmitry Vyukov
64b6c0724d
sys/windows: add more descriptions
2017-09-27 20:17:09 +02:00
Dmitry Vyukov
9de22c7d8b
docs: update syz-stress command line for fuchsia
...
-cover=0 is the default for syz-stress, remove it.
2017-09-27 19:04:31 +02:00
Dmitry Vyukov
9fc15c7ea3
vm/gce: windows support
...
Support custom pre-created images.
Support non-root user.
Use dir instead of pwd on windows.
Don't use sudo on windows.
2017-09-27 18:59:50 +02:00
Dmitry Vyukov
fd98417f4d
executor: automatically infer base of root vmar
2017-09-27 18:59:50 +02:00
Dmitry Vyukov
4b83c85945
Makefile: name windows executables with .exe suffix
2017-09-27 18:59:50 +02:00
Dmitry Vyukov
6350e5c2cf
pkg/ipc: fix windows
...
Abs does not work on fuchsia only, use it on windows.
Also maintain stats.
2017-09-27 18:59:50 +02:00
Dmitry Vyukov
bdffe2484c
executor: fix execution of windows syscalls
...
First, they must be called with stdcall convention.
Second, wrap them in __try/__except because they can crash.
2017-09-27 18:59:50 +02:00
Dmitry Vyukov
11fc874fb5
syz-fuzzer: port to windows
2017-09-27 18:59:50 +02:00
Andrey Konovalov
aba8ad090a
Update found_bugs.md
2017-09-27 16:38:25 +02:00
Dmitry Vyukov
646d96d95a
Makefile, sys/syz-extract: fix android
2017-09-27 08:46:03 +02:00
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