Commit Graph

34 Commits

Author SHA1 Message Date
Jukka Kaartinen
f56b572638 tools/syz-crush: Add feature to run C-program
usage:
  syz-crush -config=config.json creprog.c

Produced output is same as syz-manager produces.
New directory called reproduced_with is added that lists all the
reproducers that triggered the crash.

Example:

~/workdir/crashes  $ tree
.
├── 2a8fff76c6267ecfeaf3530a602ed48afbc4a151
│   ├── description
│   ├── log0
│   ├── log1
│   ├── log2
│   ├── report0
│   ├── report1
│   ├── report2
│   └── reproduced_with
│       └── 17a6ed226769660f3e5dad7b22b13466b938e290.c
├── 2b6b921457afe8cebd0a96ca40f8569e6ee95174
│   ├── description
│   ├── log0
│   ├── log1
│   ├── log2
│   ├── log3
│   ├── log4
│   ├── log5
│   ├── report0
│   ├── report1
│   ├── report2
│   ├── report3
│   ├── report4
│   ├── report5
│   └── reproduced_with
│       ├── 9fb2f5b37bf4428382334e336bbbb201634c7c4c.c
│       └── ab27002b46d19cafb1ebb8b040f0a3b0f8f88974.c

Signed-off-by: Jukka Kaartinen <jukka.kaartinen@unikie.com>
2020-06-15 18:41:13 +02:00
André Almeida
d0d8e8bc77
sys/linux: add new FUTEX_WAIT_MULTIPLE operation
Create individual file for futex syscall and add description for the new
operation FUTEX_WAIT_MULTIPLE.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
2020-02-17 06:27:23 +01:00
Zwb
b5268b89c2 tools/create-image.sh: add a new option seek
The usage of current create-image.sh:

    ```
    ./create-image.sh -d=stretch -f=minimal --add-perf

    The options are in the following:

    -d, --distribution         Set on which debian distribution to create
    -f, --feature              Check what packages to install in the image, options are minimal, full
    -s, --seek                 Image size (MB), default 2048 (2G)
    -p, --add-perf             Add perf support with this option enabled

    The default image size may too small (2G) in some debugging scenarios, so change it to configurable.
2019-10-15 12:40:28 +02:00
Andrew Turner
5457ef3463 sys/freebsd: Add support for fuzzing FreeBSD/i386
Add support to fuzz 32 bit FreeBSD system calls.
2019-05-29 14:28:59 +02:00
munjinoo
001e36bc78 executor: change syscall argument type to intptr_t
The type size of long depends on compiler.
Therefore, changing to intptr_t makes it depends on architecture.
2019-05-07 08:48:35 +02:00
Cody Holliday
e5d1b3ac44 sys/targets: fix arm target compiler prefix
sys/targets/targets.go: Change 'arm-linux-gnueabihf-' to 'arm-linux-gnueabi-' in the arm target since target ISA is armv6 and armhf is armv7+.
2019-04-04 14:57:50 +02:00
Dmitry Vyukov
f94f56fe6b AUTHORS: mention Mellanox Technologies 2019-03-27 14:34:43 +01:00
Mark Johnston
5fb683f0da AUTHORS/CONTRIBUTORS: register myself as an author and a contributor 2019-03-07 19:46:55 +01:00
Dan Robertson
13f1d0047a sys/linux: add NDISC packet formats to vnet.txt
Add the basic NDISC (RFC 4861) packet formats to sys/linux/vnet.txt.
2019-02-11 18:10:35 +01:00
Siddharth M
7ffdc16788 docs/netbsd.md: updated documentation for NetBSD
Refactored the document and updated the changes.
2019-01-14 09:51:10 +01:00
Kamil Rytarowski
432a811564 AUTHORS/CONTRIBUTORS: register myself as an author and a contributor 2019-01-09 07:19:02 +01:00
Michael Tüxen
271b354c51 vm/qemu: improve debug output
* vm/qemu: Improve debug output.

When running in debug mode, the number of VMs is reduced to 1.
State this in the debug output.

* vm/qemu: Don't start debug output with a capital letter.

As requested by Dimitry.

* vm: Provide debug message when reduing number of VMs.

Apply this change to all affected platforms for consistency.
Suggested by Dmitry.

* Add myself to AUTHORS/CONTRIBUTORS files.

* vm: Fix compilation issues missed in earlier commit.

* vm: Use logging to write debug message.
2018-11-30 17:12:03 +00:00
shankarapailoor
362ef76397 sys/linux: add additional constants for trace2syz 2018-10-30 10:58:45 +01:00
Greg Steuck
8c88323f94 tools/create-openbsd-gce-ci.sh: image for build machine
Mostly derived from Go buildlet generator with blessing from bradfitz@.

Update #712
2018-09-10 18:28:00 +02:00
Anton Lindqvist
de20bcbb68 vm/vmm: support for vmm found on OpenBSD (#678)
vm/vmm: add vmm implementation found on OpenBSD
2018-08-18 13:06:44 -07:00
Chi Pham
317fc8ea3e sys/linux: add rtc description 2018-07-02 17:55:41 +02:00
Dmitry Vyukov
65c0e1a37c AUTHORS: sync with CONTRIBUTORS
Sometimes people forget to add themselves to AUTHORS.
2018-06-06 10:02:03 +02:00
Denis Efremov
4f18337d89 sys/linux: add i2c generic description
Basic description of i2c from SIL2LinuxMP workshop.
2018-04-19 11:34:29 +02:00
Hangbin Liu
4f1152d4db sys/linux: add netlink generic team descriptions
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
2018-04-06 11:30:36 +02:00
Mitchell Horne
5e1ccffca2 Update AUTHORS and CONTRIBUTORS files 2018-04-05 11:18:53 +02: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
Ed Maste
81fe66b42a Makefile: fix git "modified tree" test
Makefile falsely detected a modified git tree when the first ifeq
argument was unquoted. Also switch to the $(shell ... style for
consistency.

As requested, add myself to AUTHORS and CONTRIBUTORS.
2017-12-21 13:53:39 +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
Tobias Klauser
784eb9c23c sys/freebsd: add POLLINIGNEOF 2017-11-08 19:30:10 +03:00
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
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
JB Cayrou
9108e3257e sys: add ETHTOOL ioctl in socket.txt
Add ioctl$sock_SIOCETHTOOL and ETHTOOL structures defined in uapi/linux/ethtool.h

http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/ethtool.h
2017-06-19 16:49:10 +00:00
Alexander Popov
7ebca77f72 syz-hub: fix copy-paste error in httpSummary()
Also mention Alexander Popov in AUTHORS and CONTRIBUTORS.
2017-06-14 15:59:45 +03:00
Dmitry Vyukov
760d346267 AUTHORS/CONTRIBUTORS: fixup 2017-05-22 05:36:24 +02:00
Dmitry Vyukov
824b2687cf CONTRIBUTORS: fix an empty
Baozeng Ding is an individual contributor, fix spacing to make it clear.
2016-09-06 22:54:43 +02:00
JeremyHuang
d8075925a0 Merge branch 'master' of https://github.com/google/syzkaller into for_submit 2016-07-07 13:36:47 +08:00
Lorenzo Stoakes
a286670358 Update AUTHORS/CONTRIBUTORS. 2016-03-06 18:55:04 +00:00
Baozeng Ding
4bbea2300f sys: support /dev/random and /dev/net/tun 2016-01-26 00:45:49 +08:00
Dmitry Vyukov
874c5754bb initial commit 2015-10-12 10:16:57 +02:00