Commit Graph

194 Commits

Author SHA1 Message Date
Julia Hansbrough
c40895075b [docs] Add Linux network troubleshooting guidance.
It took me a bit to figure out this kernel configuration quirk, so
thought it may be helpful to add to the troubleshooting section!
2018-03-01 10:11:02 +01:00
Dmitry Vyukov
6d41d29ecd
Update found_bugs.md 2018-02-27 09:37:36 +01:00
Dmitry Vyukov
7daaa06d53 dashboard/app: restrict patch testing result CC list
Currently dashboard sends patch testing result to full bug CC list
(which includes kernel mailing lists). This is unnecessary and causes
problems with patchwork.
Reply only to people in the testing request CC list
(adding our mailing list if it was missing).

Fixes #526
2018-02-22 13:08:34 +01:00
Dmitry Vyukov
e5db1f4f47
Update issue_template.txt 2018-02-20 20:21:07 +01:00
Dmitry Vyukov
632a8c2c6c
Update syzbot.md 2018-02-02 09:49:21 +01:00
Dmitry Vyukov
02553e2292
Update found_bugs.md 2018-01-30 15:23:49 +01:00
Dmitry Vyukov
a899be78f5
Update found_bugs.md 2018-01-30 13:15:30 +01:00
Dmitry Vyukov
6b2a715e62
Update found_bugs.md 2018-01-25 09:11:47 +01:00
Dmitry Vyukov
aeb24072ff
Update found_bugs.md 2018-01-22 12:09:16 +01:00
Dmitry Vyukov
3661e26e74 pkg/compiler: support non-zero-terminated strings
Add stringnoz type.
2018-01-18 18:48:39 +01:00
Dmitry Vyukov
9aaf64b374 docs: clarify that syzbot testing can be used for debugging 2018-01-16 13:37:14 +01:00
Dmitry Vyukov
5585946e22 pkg/compiler: support void type
"void": type with static size 0
	mostly useful inside of templates and varlen unions
	can't be syscall argument
2018-01-13 12:52:09 +01:00
Dmitry Vyukov
6b52293f4d pkg/compiler: support type templates
Netlink descriptions contain tons of code duplication,
and need much more for proper descriptions. Introduce
type templates to simplify writing such descriptions
and remove code duplication.

Note: type templates are experimental, have poor error handling
and are subject to change.

Type templates can be declared as follows:

```
type buffer[DIR] ptr[DIR, array[int8]]
type fileoff[BASE] BASE
type nlattr[TYPE, PAYLOAD] {
	nla_len		len[parent, int16]
	nla_type	const[TYPE, int16]
	payload		PAYLOAD
} [align_4]
```

and later used as follows:

```
syscall(a buffer[in], b fileoff[int64], c ptr[in, nlattr[FOO, int32]])
```
2018-01-13 12:52:09 +01:00
Dmitry Vyukov
7166c86520 sys/linux: add ion and ashmem devices support
Note: ion supercedes the old android interface,
which is moved to sys/android.
2018-01-09 21:24:28 +01:00
Dmitry Vyukov
5aac8b06c6
Update found_bugs.md 2018-01-09 19:57:15 +01:00
Dmitry Vyukov
a7899a5895
Update found_bugs.md 2018-01-09 17:12:16 +01:00
Dmitry Vyukov
66288e0e0b pkg/compiler: add builtin bool type aliases
This adds builtin:

type bool8 int8[0:1]
type bool16 int16[0:1]
type bool32 int32[0:1]
type bool64 int64[0:1]
type boolptr intptr[0:1]

We used to use just int's for bools.
But bool types provide several advantages:
 - make true/false probability equal
 - improve description expressiveness
 - reduce search space (we will take advantage of this later)
2018-01-08 12:52:31 +01:00
Dmitry Vyukov
402a0dc87e sys: support type aliases (aka typedefs)
Complex types that are often repeated can be given short type aliases using the
following syntax:

```
type identifier underlying_type
```

For example:

```
type signalno int32[0:65]
type net_port proc[20000, 4, int16be]
```

Then, type alias can be used instead of the underlying type in any contexts.
Underlying type needs to be described as if it's a struct field, that is,
with the base type if it's required. However, type alias can be used as syscall
arguments as well. Underlying types are currently restricted to integer types,
`ptr`, `ptr64`, `const`, `flags` and `proc` types.
2018-01-08 12:52:31 +01:00
Dmitry Vyukov
8e6b9eeb27 pkg/compiler: add bitsize type
This is need for few crypto/xfrm descriptions.
2018-01-06 17:40:36 +01:00
Dmitry Vyukov
6f03c35620 dashboard/app: extract fixing tags from commits
Support the new scheme of associating fixing commits with bugs.
Now we provide a tag along the lines of:

Reported-by: <syzbot+a4a91f6fc35e102@syzkaller.appspotmail.com>

The tag is supposed to be added to the commit.
Then we parse commit logs and extract these tags.

The final part on the dashboard is not ready yet,
but syz-ci should already parse and send the tags.
2017-12-27 09:09:18 +01:00
Tim Tianyang Chen
eaadba986d syz-manager: enable sending group emails
Email_Addr variable has been changed to Email_Addrs that contains
a list of recipient.

Signed-off-by: Tim Tianyang Chen <soapcn@gmail.com>
2017-12-21 10:27:12 +01:00
Dmitry Vyukov
90a46995a8 Makefile: fix Android builds
There are 2 known problems with current Android support:
1. It does not work with newer NDK
(happens on every NDK update).
2. Dynamic Go binaries do not start on Android emulator.

Drop special Android support and just build static linux binaries.

For context see:
https://groups.google.com/forum/#!msg/syzkaller/etg1ZJmTMzg/NYE-yjxxAQAJ
https://groups.google.com/d/msg/syzkaller/8KjCYWslTFY/1oTXn5tTAgAJ

Fixes #478
2017-12-20 10:52:19 +01:00
Dmitry Vyukov
b6f0c91b3a
Update found_bugs.md 2017-12-16 08:25:34 +01:00
Tim Tianyang Chen
ac20b98c1b syz-manager: add simple email support
Users can specify an email address to reveive notifications when a
bug is discovered for the first time, without setting up a full fledged
dashboard. The supported mailer is mailx.

Signed-off-by: Tim Tianyang Chen <soapcn@gmail.com>
2017-12-14 08:57:27 +01:00
Andrey Konovalov
ce7f2399c4
Update found_bugs_usb.md 2017-12-12 16:57:20 +01:00
Andrey Konovalov
7e77969996
Update found_bugs_usb.md 2017-12-12 16:57:07 +01:00
Dmitry Vyukov
8e1e4403ac
Update syzbot.md 2017-12-08 18:45:02 +01:00
Dmitry Vyukov
221ec6c697 docs: clarify what is syzkaller config parameter 2017-12-08 13:18:37 +01:00
Ed Maste
1a6a7478c2 docs: use 'c++' to build on FreeBSD
Building the executor via `gcc executor/executor_freebsd.cc ...`
requires that a GCC package first be installed on the FreeBSD VM image.
The FreeBSD base system comes with Clang already installed, so we can
build via `c++ executor/executor_freebsd.cc ...` and avoid having to
install additional packages.
2017-11-29 08:55:05 +01:00
Andrey Konovalov
cb27b030b5
Update found_bugs_usb.md 2017-11-23 17:15:51 +01:00
Andrey Konovalov
5378ce720e
Update found_bugs_usb.md 2017-11-23 17:07:17 +01:00
Atul Prakash
9113005830 docs/linux: added and updated docs for ARM32 architecture
docs/linux: Also fixed link and spacing in arm32 docs
2017-11-22 10:17:35 +01:00
Andrey Konovalov
d4d14b030e
Update found_bugs_usb.md 2017-11-21 15:05:03 +01:00
Andrey Konovalov
7401db5302
Update found_bugs_usb.md 2017-11-21 14:55:21 +01:00
Dmitry Vyukov
e93131fcce dashboard/app: remember job links
Remember link for jobs.
Check that mailing list is in CC when we accept commands.
2017-11-19 11:58:17 +01:00
Dmitry Vyukov
bf82068946 dashboard/app: assorted improvements/fixes for patch testing
Fix a bunch of bugs after testing.
Also update docs for patch testing.
2017-11-17 21:04:40 +01:00
Andrey Konovalov
699e0a68ad
Update found_bugs_usb.md 2017-11-08 00:03:26 +01:00
Andrey Konovalov
ef57962634
Update contributing.md 2017-11-07 14:23:57 +01:00
Andrey Konovalov
102fd70169
Update found_bugs_usb.md 2017-11-07 14:05:28 +01:00
Andrey Konovalov
4baddb8d39
Update found_bugs_usb.md 2017-11-07 14:01:33 +01:00
Andrey Konovalov
262ab53d85
Update found_bugs_usb.md 2017-11-07 13:59:04 +01:00
Andrey Konovalov
085e9f8d56
Update found_bugs_usb.md 2017-11-07 13:51:40 +01:00
Andrey Konovalov
d49979f75f
Update found_bugs_usb.md 2017-11-07 13:34:40 +01:00
Dmitry Vyukov
8bac040e2a docs: update path to syz-execprog binary 2017-11-07 10:39:39 +01:00
Andrey Konovalov
4340937250
Update found_bugs_usb.md 2017-11-06 16:23:50 +01:00
Andrey Konovalov
0b00174908
Update found_bugs_usb.md 2017-11-06 14:30:51 +01:00
Andrey Konovalov
6972c447af
Update found_bugs_usb.md 2017-11-06 13:20:02 +01:00
Andrey Konovalov
ff12ae316d
Update found_bugs_usb.md 2017-11-04 21:53:06 +01:00
Andrey Konovalov
c78b455b14
Update found_bugs_usb.md 2017-11-04 18:37:14 +01:00
Andrey Konovalov
7c537a4b3d
Update found_bugs_usb.md 2017-11-03 15:48:10 +01:00