Commit Graph

242 Commits

Author SHA1 Message Date
Julia Hansbrough
f22e81b500 [doc] Update contributing instructions.
Details how to run tests and how to work around gofmt bug.
2018-08-17 06:57:27 -07:00
Dmitry Vyukov
fbedd425b5 pkg/mgrconfig: move from syz-manager/mgrconfig
mgrconfig was used only by syz-manager initially,
but now it's used by a dozen of packages and it's
weird to import from under a binary dir.
pkg/ is much more reasonable dir for a widely used
helper package.
2018-08-02 16:57:32 +02:00
Zach Riggle
0a7cf4ec63 manager: Fix default value for 'sandbox' (#666)
docs: fix default sandbox value

The docs and code comments state in several places that 'setuid'
is the default sandbox value.  However, the default is actually
'none'.  Fix docs.
2018-08-01 19:42:07 +02:00
Dmitry Vyukov
9fe4bdc5f1 executor: overhaul
Make as much code as possible shared between all OSes.
In particular main is now common across all OSes.
Make more code shared between executor and csource
(in particular, loop function and threaded execution logic).
Also make loop and threaded logic shared across all OSes.
Make more posix/unix code shared across OSes
(e.g. signal handling, pthread creation, etc).
Plus other changes along similar lines.
Also support test OS in executor (based on portable posix)
and add 4 arches that cover all execution modes
(fork server/no fork server, shmem/no shmem).

This change paves way for testing of executor code
and allows to preserve consistency across OSes and executor/csource.
2018-07-24 12:04:27 +02:00
Dmitry Vyukov
710eefe85a pkg/compiler: support negative integers
Currently we have to use 0xffffffffffffffff to represent -1,
and we can't express e.g. -20:20 int range.
Support negative consts to fix both problems.
2018-07-09 20:47:07 +02:00
Dmitry Vyukov
306ca0571c prog, pkg/compiler: support fmt type
fmt type allows to convert intergers and resources
to string representation.
2018-07-08 22:52:24 +02:00
Dmitry Vyukov
785a983395
Update syzbot.md
explicitly specify KMSAN branch for testing
2018-07-06 09:45:19 +02:00
Dmitry Vyukov
e1b966c6da
Update found_bugs.md 2018-07-04 19:27:26 +02:00
Dmitry Vyukov
5601c52580
Update syzbot.md
add link to another clang compiler
2018-07-02 10:45:51 +02:00
Dmitry Vyukov
e502f1a6df docs: remove mentions of vmlinux
vmlinux is deprecated in favor of kernel_obj.
Remove all mentions of it.
Also warn in syz-manager/mgrconfig if vmlinux is set.
2018-06-28 13:42:04 +02:00
Dmitry Vyukov
5e7849c5d1 docs: add gvisor page 2018-06-25 11:58:28 +02:00
shankarapailoor
b29d507d73 Update found_bugs.md 2018-06-12 19:39:10 +02:00
Dmitry Vyukov
87ee80501c
Update found_bugs.md 2018-06-12 19:18:33 +02:00
Dmitry Vyukov
06ece2ca66 pkg/host: rework host feature detection/setup
Currently host feature detection/setup code is spread
across platform-independent fuzzer code, pkg/host, pkg/ipc
and executor.
Move this all into pkg/host and show readable info
about features on manager start.

Fixes #46
2018-06-12 14:53:22 +02:00
Dmitry Vyukov
7b7a851040
Update syzbot.md
add reference to kernel configs
2018-06-11 11:36:50 +02:00
Dmitry Vyukov
e0e534c6c2 docs: update fuchsia instructions 2018-06-06 20:55:40 +02:00
Dmitry Vyukov
bf6fa5b647
Update found_bugs.md 2018-06-05 11:33:06 +02:00
Dmitry Vyukov
825571fb8a
Update found_bugs.md 2018-06-05 07:26:35 +02:00
Dmitry Vyukov
cdc49e5fb7
Update syscall_descriptions_syntax.md
extend resource description
2018-06-04 11:16:25 +02:00
Dmitry Vyukov
6cbe7c26d5
Update syscall_descriptions_syntax.md
clarify size of intptr
2018-06-04 09:39:41 +02:00
Dmitry Vyukov
031c7941d7 pkg/compiler: add optional builtin template
type optional[T] [
	val	T
	void	void
] [varlen]
2018-05-17 12:02:30 +02:00
Dmitry Vyukov
9e377df0c7 docs: describe syzbot moderation queue 2018-05-16 14:59:33 +02:00
Murat
78d847c63e Updated file and fixed typo.
Fixed typo for JSON config file. It has a comma after "false". If this comma exist, it always gives issue about object thing.
2018-05-15 10:28:30 +02:00
Dmitry Vyukov
03258b9e7f dashboard/app: remove most details from email footer
Exact details of syzbot communication change over time,
so it's a bad idea to hardcode them in each email.
Full details are also quite lengthy, so we can't express
all of them in each email header. And providing partial
info may be worse than just providing a link to full info.

So remove most details from email footer,
and just give links to documentation.

Also clarify docs re when "syz fix" should/can be used.
2018-05-15 10:14:51 +02:00
Jean-Baptiste Theou
12c7428ad2 docs: add link for PH-1 kernel
Signed-off-by: Jean-Baptiste Theou <jb@essential.com>
2018-05-09 09:31:39 +02:00
Alex Gaynor
6c18ddb0e6 fixed link to generated file in the docs 2018-05-06 09:28:41 +02:00
Dmitry Vyukov
1e85f7b9af pkg/ast: support char constants
Frequently it's useful to do something like:

int8['a':'z']
punctuation = ',', '-', ':'
2018-04-29 12:04:22 +02:00
Dmitry Vyukov
195cc154e2
Update kernel_configs.md 2018-04-27 16:03:10 +02:00
Dmitry Vyukov
7785e4049f
Update setup_linux-host_qemu-vm_arm-kernel.md 2018-04-27 15:46:45 +02:00
Dmitry Vyukov
b9e02d5759 docs: add instructions for arm kernel 2018-04-27 14:33:01 +02:00
Dmitry Vyukov
4707a17923
Update found_bugs.md 2018-04-24 15:57:13 +02:00
Dmitry Vyukov
1fda5ee0af
docs: add new ways of testing patches on syzbot
1. Mention that exact commit hash can be provided.
2. Mention that patch is optional now.
2018-04-24 15:34:37 +02:00
Dmitry Vyukov
c7b0bb14c0
Update found_bugs.md 2018-04-23 15:38:28 +02:00
Dmitry Vyukov
20941ab3cb
Update found_bugs.md 2018-04-23 11:19:36 +02:00
Dmitry Vyukov
cc402841ba
Update kernel_configs.md 2018-04-20 09:28:52 +02:00
Dmitry Vyukov
0a81695ed1
Update kernel_configs.md 2018-04-19 11:58:25 +02:00
Dmitry Vyukov
b0dfc7a076
Update syzbot.md 2018-04-13 11:25:16 +02:00
Dmitry Vyukov
f9f018393d docs: add new syzbot compiler 2018-04-12 15:57:16 +02:00
Dmitry Vyukov
8e873e9dc0
Update syzbot.md 2018-04-10 13:36:15 +02:00
Dmitry Vyukov
f13fb4453e
Update syzbot.md 2018-04-09 09:49:36 +02:00
Dmitry Vyukov
5883462aab docs: add KMSAN description to syzbot page 2018-04-05 11:56:07 +02:00
Dmitry Vyukov
3e679c51c0 pkg/compiler: support non-zero terminated filenames
Now file names become:

string[filename]

with a possibility of using other string features:

stringnoz[filename]
string[filename, CONST_SIZE]

and filename is left as type alias as it is commonly used:

type filename string[filename]
2018-04-02 20:10:07 +02:00
Dmitry Vyukov
0a78e248b7 dashboard/app: support undup command
Fixes #520
2018-04-01 13:43:18 +02:00
Dmitry Vyukov
a5d08e443b docs: add link to dashboard to syzbot doc 2018-03-20 16:56:58 +01:00
Sumukha Pk
08dacaa0b9 netbsd.md: Changes made in file about missing clarity (#535)
* Changes made in the netbsd.md file, syzkaller made easier to install

* Name added to list of contributors

* Added name to CONTRIBUTORS file

* Changes in file regarding format issues
2018-03-13 12:33:05 +03:00
Dmitry Vyukov
d50edb7e5c
Update syzbot.md 2018-03-07 17:08:01 +01:00
Dmitry Vyukov
002cecf202 pkg/compiler: allow specifying static size for filename's
Sometimes filenames are embed into structs and need to take fixed space.
2018-03-05 12:10:27 +01:00
Dmitry Vyukov
a339951e5f pkg/compiler: add size attribute for structs
The size attribute allows to pad a struct up to the specified size.
2018-03-05 12:10:27 +01:00
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