457 Commits

Author SHA1 Message Date
Shiyu Sun
598ca6c8b8 docs:update syscall_descriptions.md
Add detailed instructions to run syz-extract
2019-11-22 09:42:11 +01:00
Shiyu Sun
8098ea0f33 docs: update syscall_descriptions.md and contributing.md
Add suggestions for running make install_prerequisites.
2019-11-20 09:54:55 +01:00
Dmitry Vyukov
12be8ffc87
docs: clarify what tree should be used for make extract
Clarify what tree should be used for make extract for Linux.
2019-11-20 09:41:50 +01:00
Shiyu Sun
1daed50ac3 docs: update syscall_descriptions.md
Clarify that 'make generate' should update syscall description
revision.
2019-11-18 09:15:26 +01:00
Andrey Konovalov
af5c522d02
Update external_fuzzing_usb.md 2019-11-05 15:13:52 +01:00
Andrey Konovalov
76630fc947 executor, pkg/host, dashboard/config: rename usb-fuzzer to usb raw-gadget
The interface is being upstreamed and the name has changed.
2019-11-04 15:43:43 +01:00
Dmitry Vyukov
c9610487d8
docs: mention more fuzzing research work 2019-11-03 08:53:32 +01:00
Paul Chaignon
997ccc675b pkg/compiler: define fileoff template
Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
2019-11-01 19:14:49 +01:00
Matthew Dempsky
d70278b724 docs/fuchsia: update README.md
The build process has changed somewhat since switching to host fuzzing
mode. Also, rearrange the fx build steps earlier, since they're a
prerequisite for building syzkaller.
2019-10-30 13:28:29 -07:00
Paul Chaignon
713f727d98 prog, pkg/compiler: alignment for integer ranges
Enables the syntax intN[start:end, alignment] for integer ranges.  For
instance, int32[0:10, 2] represents even 32-bit numbers between 0 and 10
included.  With this change, two NEED tags in syscall descriptions can be
addressed.

Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
2019-10-25 18:16:59 +02:00
Andrew Turner
061a8b8a29 docs: Remove an invalid ascii character
A python3 version of check_links.py raises an exception reading this.
Fix by removing the invalid ascii character.
2019-10-21 15:56:27 +02:00
Andrey Konovalov
6901a56e00 executor/usb: enable endpoints on SET_INTERFACE
This commit changes syz_usb_control_io to enable the relevant endpoints
for the interface being set via a SET_INTERFACE request.
2019-10-21 15:56:03 +02:00
Marco Elver
f3f7d9c8c3
Update syzbot.md 2019-10-04 19:09:00 +02:00
Anton Lindqvist
c1ad544100 docs/openbsd: update found bugs.md 2019-09-29 09:55:05 +02:00
Andrey Konovalov
2d1b3704eb docs/linux: update USB instructions 2019-09-19 16:20:57 +02:00
Andrey Konovalov
408e453738
Update external_fuzzing_usb.md 2019-09-19 15:53:52 +02:00
Andrey Konovalov
72ada85635
Update external_fuzzing_usb.md 2019-09-19 15:45:23 +02:00
Zubin Mithra
46c0be242e docs: update syzbot.md
Add in some information about fix bisection.
2019-09-18 15:09:15 +02:00
Andrey Konovalov
4dc46dd6c9 docs: fix USB Raspberry Pi instructions 2019-09-18 13:40:13 +02:00
Andrey Konovalov
a38da1b89a sys/linux, executor: basic support for multiple USB interfaces 2019-09-06 17:19:55 +02:00
Dmitry Vyukov
acb5b744f9
docs: add another research paper 2019-09-06 13:50:39 +02:00
Andrey Konovalov
24cb2b46b8 docs: update USB fuzzing documentation 2019-09-04 13:53:01 +02:00
ITWOI
48448e715b docs: add CC="$GCC/bin/gcc" to setup_ubuntu-host_qemu-vm_x86-64-kernel.md (#1368)
Use the same GCC version when configuring and building Linux kernel.
2019-09-03 13:27:41 +02:00
Andrey Konovalov
40203c152e
Update setup_linux-host_qemu-vm_arm-kernel.md 2019-08-28 19:16:38 +02:00
Andrey Konovalov
3885d1e2ad
Update setup_linux-host_qemu-vm_arm-kernel.md 2019-08-28 18:55:01 +02:00
Andrey Konovalov
984250d508
Update found_bugs_usb.md 2019-08-21 16:32:30 +02:00
Andrey Konovalov
6b8391d069
Update external_fuzzing_usb.md 2019-08-20 20:13:22 +02:00
Andrey Konovalov
ee12860bce
Update found_bugs_usb.md 2019-08-19 19:04:46 +02:00
Dmitry Vyukov
b8ceabfc32
docs: update syscall_descriptions.md
We now don't return len from read/write syscalls (not needed for anything)
and don't need an mmap for data space.
Reflect this in the docs.
2019-08-18 15:14:06 -07:00
Anton Lindqvist
faeffb0030 docs/openbsd: update found bugs.md 2019-08-15 17:46:48 +02:00
Marco Vanotti
4f6396e936 docs/fuchsia: add bundles:tools to fuchsia build args 2019-08-14 09:34:25 +02:00
Marco Vanotti
34176e0895 docs/fuchsia: document manual ssh steps for syz-manager. 2019-08-14 09:34:25 +02:00
Anton Lindqvist
61b8adda6f docs/openbsd: update found_bugs.md 2019-08-06 16:26:00 +02:00
Andrey Konovalov
da562c0b27
Update syzbot.md 2019-08-06 14:52:52 +02:00
Andrey Konovalov
e2338bf172
Update syzbot.md 2019-08-06 14:51:55 +02:00
Andrey Konovalov
be5344d300
Update syzbot.md 2019-07-30 16:31:04 +02:00
Andrey Konovalov
9ad042d8ec
Update syzbot.md 2019-07-30 13:58:44 +02:00
Andrey Konovalov
f67095eefa
Update syzbot.md 2019-07-29 15:22:36 +02:00
Andrey Konovalov
8fe30d3e86
Update syscall_descriptions.md 2019-07-26 15:03:41 +02:00
Marco Vanotti
1b0aeaa4e8 Makefile: build fuchsia go binaries using the sdk
This commit removes a dependency on fuchsia's tools/devshell/contrib/go,
which was removed recently[0].

Now to build go binaries for fuchsia we are not relying on the
fuchsia.git repo at all. The code just needs a copy of the fuchsia
//third_party/go repository, the fuchsia sdk and a copy of clang.

Users should download the sdk and clang beforehand (see documentation
for links), and then run (with the correct environment variables):

```
$ make TARGETOS=fuchsia TARGETARCH=amd64 \
    SOURCEDIR=$HOME/fuchsia \
    FX_SDK_PATH=${HOME}/sdk/fuchsia-sdk \
    CLANG_PATH=${HOME}/sdk/clang \
    fuchsia_go
```

After that, they will be able to build the syzkaller go binaries by
doing:

```
$ make TARGETOS=fuchsia TARGETARCH=amd64 \
    SOURCEDIR=$HOME/fuchsia \
    FX_SDK_PATH=${HOME}/sdk/fuchsia-sdk \
    CLANG_PATH=${HOME}/sdk/clang
```

This commits adds two scripts to tools/fuchsia, one for building go in
fuchsia (just calls the ./make.all script in fuchsia's go repo), and one
that replaces the devshell/contrib/go script.

Given that go is unsupported in fuchsia, this change might break at any
point.

[0]: https://fuchsia-review.googlesource.com/c/fuchsia/+/291631
2019-07-23 08:44:20 +02:00
Dmitry Vyukov
d6e6e5e69c docs: fix description of ptr type
ptr has direction as the first argument.
2019-07-22 09:23:10 +02:00
Denis Efremov
9097c294da Update found_bugs.md 2019-07-19 10:37:26 +02:00
Dmitry Vyukov
a963689197 pkg/log: rename -v to -vv
To avoid conflicts with programs that import both syzkaller packages
and github.com/golang/glog which also defines -v flag.
2019-07-16 11:18:12 +02:00
Anton Lindqvist
e6fb0f1316 docs/openbsd: update found_bugs.md 2019-07-13 09:20:32 +02:00
Willem de Bruijn
deef5fbc83 docs/linux: add references to syzkaller build instructions
In the various linux build instructions, add pointers to the main
doc with instructions for building syzkaller.

These instructions were present before commit d23e90a7b44b ("all:
switch to Go 1.12"). They were duplicated across files. Since the
commit the instructions are in one place. Make it easier to find
them from the platform-specific setup guides.

Also clarify in the x86_64 guide that using a precompiled compiler
from the supplied list is optional if the distribution provided
compiler is recent enough. Before commit d28f4ce ("Update
setup_ubuntu-host_qemu-vm_x86-64-kernel.md") the file had explicit
build instructions. Those are no longer needed.
2019-07-04 19:37:16 +02:00
Alessio Balsini
7509bf360e docs/linux/qemu-arm64: fix copy/paste with non-ASCII character
The sneaky '“' character causes errors when copy-pasting snapshots of
the documentation.
Solved with s/“/"/g.

Signed-off-by: Alessio Balsini <balsini@android.com>
2019-06-26 16:35:33 +02:00
R3x
9b3b970634 docs/netbsd: remove TODO tasks that have been completed 2019-06-26 11:18:42 +02:00
Anton Lindqvist
34bf9440bd docs/openbsd: correct order of vmctl arguments
The order of arguments passed to vmctl was recently changed: options comes
first followed by positional arguments.
2019-06-18 17:26:13 +02:00
Anton Lindqvist
e3f76baaa9 docs/openbsd: update found_bugs.md 2019-06-18 09:46:08 +02:00
Andrey Konovalov
cf9c3a505d
Update found_bugs_usb.md 2019-06-07 15:46:35 +02:00