Commit Graph

445 Commits

Author SHA1 Message Date
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 d23e90a7b4 ("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
R3x
e41a20c517 docs/netbsd: Added link to image script 2019-06-04 13:07:51 +02:00
Anton Lindqvist
ce07a7aef6 docs/openbsd: update found_bugs.md 2019-06-03 21:24:20 +02:00
Dmitry Vyukov
562efd79c7 docs: add section about KMEMLEAK to syzbot doc 2019-05-27 10:50:10 +02:00
Pascal Perez
77beeccbe0 sys: Updating Fuchsia extraction scripts
Consolidating FIDL library build mappings in one place, so that it can
be used from extraction, and script invoking fidlgen. This also makes
code clearer, and provides a more natural path for evolutions / dealing
with oddities.

Minor doc update post fx command changes.
2019-05-21 14:55:36 -07:00
Dmitry Vyukov
e503f048b0 docs: don't duplicate manager config parameters
Currently we have them duplicated in docs/configuration.md
and the actual source in pkg/mgrconfig/config.go.
Documentation is missing in one place or another,
some is outdated, some is phrased slightly differently.
Move all docs to pkg/mgrconfig/config.go and reference it
from docs/configuration.md instead.
2019-05-21 11:47:51 +02:00
Dmitry Vyukov
33a268bd3b
docs: clarify syzbot handling of rebased trees 2019-05-20 18:14:07 +02:00
Greg Steuck
b5641f32bf docs/openbsd: Record gcloud commands used for /syzkaller 2019-05-20 17:59:02 +02:00
Dmitry Vyukov
76fc461b55 pkg/compiler: add offsetof type
Similar to C offsetof gives offset of a field
from the beginning of the parent struct.
We have several TODOs in descriptions asking for this.
2019-05-16 18:05:05 +02:00
Dmitry Vyukov
2376f0f937 pkg/compiler: allow to refer to syscall arguments in len paths
This allows to use len[syscall:arg] expressions.
2019-05-14 19:28:01 +02:00
Dmitry Vyukov
eea28fee30 pkg/compiler: support complex len targets
This change adds compiler support for complex path
expressions in len targets. E.g. it allows to refer
to a sibling field as len[parent_struct:field:another_field].
See the docs change for details.

This is just a compiler change.
The feature is not yet supported by the prog package.
2019-05-14 19:28:01 +02:00
Andrey Konovalov
9251289f14
Update README.md 2019-05-14 14:31:21 +02:00
Anton Lindqvist
16ab1e89e3 docs/openbsd: update found_bugs.md (#1172) 2019-05-12 12:32:12 -07:00