Commit Graph

614 Commits

Author SHA1 Message Date
Utkarsh Anand
9a70df4192 Added documentation for NetBSD.
- Added a new file that documents the image preparation and running instructions for NetBSD.
2017-10-23 16:14:46 +02:00
Andrey Konovalov
afeb98ca65 Update found_bugs_usb.md 2017-10-23 13:25:21 +02:00
LeadroyaL
4d9c071338 use absolute link 2017-10-20 10:27:24 +02:00
LeadroyaL
534e07edeb docs: fix configuration documentation 2017-10-20 10:27:24 +02:00
Dmitry Vyukov
355f57c5fb Update freebsd.md 2017-10-19 14:34:48 +02:00
Dmitry Vyukov
b8d21896b6 Delete issue_template.md 2017-10-19 14:27:44 +02:00
Dmitry Vyukov
d1fdae0c34 Create issue_template.txt 2017-10-19 14:27:36 +02:00
Dmitry Vyukov
f7e3d40e6f Update freebsd.md 2017-10-19 13:31:40 +02:00
Dmitry Vyukov
d629e2b7fe Update freebsd.md 2017-10-19 13:28:49 +02:00
Andrey Konovalov
10c53cfcdb Update found_bugs_usb.md 2017-10-19 13:13:56 +02:00
Andrey Konovalov
5776783af1 Update found_bugs_usb.md 2017-10-18 14:16:38 +02:00
Dmitry Vyukov
0c3dda40b8 Update contributing.md 2017-10-18 12:31:05 +02:00
Dmitry Vyukov
7ba02b7e21 Update pull_request_template.txt 2017-10-18 12:26:12 +02:00
Dmitry Vyukov
21c4900972 Update pull_request_template.txt 2017-10-18 12:25:15 +02:00
Dmitry Vyukov
1ba1282960 Create pull_request_template.txt 2017-10-18 12:23:12 +02:00
Dmitry Vyukov
7fdc7eba93 Create issue_template.md 2017-10-18 12:14:53 +02:00
Dmitry Vyukov
83d9b33c5b Update contributing.md 2017-10-18 12:07:21 +02:00
Willem de Bruijn
b69d27d17e docs: minor updates to x86_64 ubuntu setup instruction 2017-10-17 15:26:15 +02:00
Dmitry Vyukov
a1bdb604cc syz-manager: extend periodic messages
Add coverage and number of reproducing programs to the periodic messages.
When all machines are busy reproducing crashes, it appears that
syz-manager hanged as number of executed programs does not increase.
Coverage is just a nice characteristic.
Also print machine check message, it appears once and contains useful info.
2017-10-17 15:00:01 +02:00
Dmitry Vyukov
493f7afa4b docs: add some info about freebsd 2017-10-17 13:56:29 +02:00
Dmitry Vyukov
85b1f93f8d executor, pkg/ipc: unify ipc protocol between linux and other OSes
We currently use more complex and functional protocol on linux,
and a simple ad-hoc protocol on other OSes.
This leads to code duplication in both ipc and executor.
Linux supports coverage, shared memory communication and fork server,
which would also be useful for most other OSes.

Unify communication protocol and parametrize it by
(1) use of shmem or only pipes, (2) use of fork server.

This reduces duplication in ipc and executor and will
allow to support the useful features for other OSes easily.

Finally, this fixes akaros support as it currently uses
syz-stress running on host (linux) and executor running on akaros.
2017-10-16 14:21:54 +02:00
Dmitry Vyukov
d158fb9d3b executor: add akaros support
Does not work yet, also needs ipc changes.
2017-10-16 14:21:54 +02:00
Dmitry Vyukov
2647772874 sys/akaros: add akaros support 2017-10-16 14:21:54 +02:00
Andrey Konovalov
f5c3010743 Update found_bugs_usb.md 2017-10-11 12:31:27 +02:00
Andrey Konovalov
abb0204238 Update found_bugs_usb.md 2017-10-10 15:36:37 +02:00
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
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
Andrey Konovalov
ffd2a08fd9 Update found_bugs.md 2017-10-02 13:51:08 +02:00
Andrey Konovalov
61dd85c0cf Update found_bugs.md 2017-09-28 20:00:43 +02:00
Dmitry Vyukov
a13111c7f3 docs: assorted windows instructions fixes 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
Andrey Konovalov
aba8ad090a Update found_bugs.md 2017-09-27 16:38:25 +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
Andrey Konovalov
0ecebdccc6 Update found_bugs.md 2017-09-25 14:43:30 +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
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
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
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
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
Andrey Konovalov
2bab8ad847 Update found_bugs.md 2017-09-18 19:34:56 +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
f7b1163afb syz-manager/mgrconfig: explicitly specify target in config
Add target config parameter (e.g. linux/amd64) which controls target OS/arch.
No more explicit assumptions about target.
2017-09-15 16:02:37 +02:00
Dmitry Vyukov
013a8d4c00 Update syscall_descriptions_syntax.md 2017-09-13 08:51:28 +02:00
Andrey Konovalov
c12eb94a84 Update found_bugs.md 2017-09-12 20:55:22 +02:00
Andrey Konovalov
0bd6a0a57a Update found_bugs.md 2017-09-12 19:10:57 +02:00
Andrey Konovalov
449b6f15c3 Update found_bugs.md 2017-09-11 17:52:44 +02:00
Andrey Konovalov
1ae12bb849 Update found_bugs.md 2017-09-11 17:48:16 +02:00
Andrey Konovalov
d18bfda0d4 Update setup_ubuntu-host_qemu-vm_x86-64-kernel.md 2017-09-08 13:24:54 +02:00
Li-Wen Hsu
22f8272a4b
docs: add more prerequisites on ubuntu 2017-09-08 09:10:02 +08:00
Andrey Konovalov
fbc5f27a13 Update found_bugs.md 2017-09-05 16:23:00 +02:00
Dmitry Vyukov
08c91ab698 sys: support ptr64 type
ptr64 is like ptr, but always takes 8 bytes of space.
Needed for some APIs. Unfortunately, most of these APIs
use buffer type, so we can't use ptr64 immidiately.
2017-09-02 13:44:28 +02:00
Dmitry Vyukov
a7206b24ca pkg/compiler: check and generate types
Move most of the logic from sysgen to pkg/compiler.

Update #217
2017-09-02 13:06:53 +02:00
Andrey Konovalov
70ab363e79 Update linux_kernel_reporting_bugs.md 2017-09-01 13:58:35 +02:00
Andrey Konovalov
83f1ca5484 Update linux_kernel_reporting_bugs.md 2017-09-01 13:55:37 +02:00
Dmitry Vyukov
5a093b74f6 sys: change proc arguments to the format used by const/flags/len
All other types have optional underlying type as the last argument.
Proc have it as first. This creates very irregular syntax and
complicates parsing. Make type the last argument.

Note: this is a breaking change if you have descriptions on the side.
2017-08-31 14:31:21 +02:00
Zubin Mithra
5857966468 docs: fix syz-headerparser documentation
Remove the --device option from the documentation file
docs/hedaerparser_usage.md
2017-08-27 18:17:00 +02:00
Zubin Mithra
c3631fc789 tools: add headerparser as a tool to assist in writing system call descriptions
The tool can be found inside tools/syz-headerparser. Details on how to use
headerparser can be found inside docs/headerparser_usage.md.
2017-08-25 17:23:52 +02:00
Dmitry Vyukov
2dfba870d0 docs: add landing page for automatically reported bugs 2017-08-17 13:08:38 +02:00
Dmitry Vyukov
6bf1e337a0 Update executing_syzkaller_programs.md 2017-08-09 16:29:35 +02:00
Andrey Konovalov
08a7078aab Update linux_kernel_reporting_bugs.md 2017-08-03 19:11:58 +02:00
Andrey Konovalov
35e1c3cdb5 Update linux_kernel_reporting_bugs.md 2017-08-03 14:36:28 +02:00
Andrey Konovalov
1bf4de5647 docs: small fixes 2017-07-24 18:23:04 +02:00
Dmitry Vyukov
50cd6f06ef Update linux_kernel_configs.md 2017-07-18 14:00:26 +02:00
Thomas Garnier
3fd92b9694 Add Isolated VM
Add a new isolated VM for machines that you cannot easily manage. It
assumes the machine is only available through SSH and create a reverse
proxy to ensure the machine can connect back to syz-manager.

Signed-off-by: Thomas Garnier <thgarnie@google.com>
2017-07-18 09:57:38 +02:00
Andrey Konovalov
bc44358170 Update found_bugs.md 2017-07-06 15:02:30 +02:00
Dmitry Vyukov
c5b6fcddca syz-hub: split client name and manager name
This allows to reduce number of hub clients by grouping managers
and creating one client per such group.
2017-06-29 17:50:44 +02:00
Andrey Konovalov
e71d50711e docs: add instructions on reporting security bugs 2017-06-29 16:01:06 +02:00
Zach Riggle
43f0f8f079 Add 'make android' target and document it (#255) 2017-06-26 15:55:20 +02:00
Zach Riggle
2420edb02e Port console to Darwin (#253)
* Port console to Darwin

* Get syz-executor to build correctly

* Do not export unix and syscall constants

* Add presubmit test

* Add myself to contributors
2017-06-26 15:32:38 +02:00
Yuzhe Han
7077339b70 Parse incdir "incdir" in syscall description file to add custom include directories. (#180)
* Parse #incdir "incdir" in syscall description file to add custom include directories.

* add flagLinux

* remove '#' in incdir flag

* Update sys/README.md AUTHORS CONTRIBUTORS.
2017-06-26 10:52:47 +02:00
Dmitry Vyukov
0b4cf413ea Merge pull request #241 from dvyukov/dvyukov-ci
syz-ci: add continuous integration system
2017-06-22 16:27:37 +02:00
Andrey Konovalov
e02fb02141 Update found_bugs.md 2017-06-22 12:19:46 +02:00
Andrey Konovalov
f1a56fe3b6 Update found_bugs.md 2017-06-21 14:10:21 +02:00
Andrey Konovalov
02f480cc26 Update linux_kernel_reporting_bugs.md 2017-06-21 12:06:27 +02:00
Dmitry Vyukov
6573032fff syz-ci: add continuous integration system 2017-06-20 19:59:55 +02:00
Andrey Konovalov
7a3201d2ad Update found_bugs.md 2017-06-20 17:16:23 +02:00
daveti
a958ca9369 arm64 doc update 2017-06-19 20:43:45 -04: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
c9ee712bc8 sys/syz-extract: move from syz-extract 2017-06-17 14:41:15 +02:00
daveti
a409f5ad50 fix the ssh port option in the doc 2017-06-16 16:58:44 -04:00
Dmitry Vyukov
619a2a8204 docs: say that Suzy-Q is not necessary 2017-06-16 13:14:39 +02:00
Andrey Konovalov
71f516782b docs: various improvements 2017-06-14 18:05:39 +02:00
Andrey Konovalov
15826f5087 docs: move parts of README to docs 2017-06-14 16:13:33 +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
Andrey Konovalov
e9b5b3f4c7 docs: move kernel configs page from wiki 2017-06-14 13:40:50 +02:00
Andrey Konovalov
6ed5e0a6f4 docs: move executing syzkaller page from wiki 2017-06-14 13:34:14 +02:00
Andrey Konovalov
5c5bc1c0ea docs: move syz-hub page from wiki 2017-06-14 13:31:32 +02:00
Andrey Konovalov
4939b55f03 docs: move found bugs page from wiki 2017-06-14 13:26:14 +02:00
Andrey Konovalov
20368da681 docs: move sys/README.md to docs 2017-06-14 13:23:51 +02:00
Andrey Konovalov
2be54e498d docs: move reporting kernel bugs page from wiki 2017-06-14 13:17:22 +02:00
Andrey Konovalov
acbeecfe56 docs: move contributing section from README to docs/ 2017-06-14 13:12:19 +02:00