Commit Graph

1550 Commits

Author SHA1 Message Date
Andrey Konovalov
581058c20f Merge pull request #259 from xairy/up-fix-inner-null
prog: fix PtrType generation
2017-06-27 12:48:09 +02:00
Andrey Konovalov
d14bf09d4c prog: fix PtrType generation
The inner return value can't be nil, arguments are always created now.
2017-06-27 12:41:07 +02:00
Andrey Konovalov
41d7a8a64b repro: add 1 minute duration 2017-06-27 11:59:12 +02:00
Andrey Konovalov
d832fd391a vm: increase stored log size to 1 MB 2017-06-27 11:59:12 +02:00
Andrey Konovalov
65542325fb repro: add bisection test 2017-06-27 11:59:12 +02:00
Andrey Konovalov
3349d055d7 repro: bisect the log to find multiple guilty programs 2017-06-27 11:59:11 +02:00
Andrey Konovalov
65a34e4c2d Merge pull request #247 from xairy/up-maintainers
report: add get maintainers function
2017-06-27 11:55:53 +02:00
Dmitry Vyukov
274bfdcec9 vm/adb: add an option to disable battery check
Add a new VM option:

	// Ensure that a device battery level is at 20+% before fuzzing.
	// Sometimes we observe that a device can't charge during heavy fuzzing
	// and eventually powers down (which then requires manual intervention).
	// This option is enabled by default. Turn it off if your devices
	// don't have battery service, or it causes problems otherwise.
	Battery_Check bool

Fixes #258
2017-06-27 10:28:22 +02:00
Dmitry Vyukov
7cacd94aa6 vm/vmimpl: fix linux/ppc64le build 2017-06-27 10:21:43 +02:00
Zach Riggle
4e580472f4 Restore TCGETS2 (#256) 2017-06-27 10:03:24 +02:00
Andrey Konovalov
3ad6daa90a report: add get maintainers function 2017-06-26 21:23:14 +02:00
Dmitry Vyukov
f6267bfc36 tools/syz-tty: add utility for testing of usb console reading code 2017-06-26 16:22:29 +02:00
Zach Riggle
43f0f8f079 Add 'make android' target and document it (#255) 2017-06-26 15:55:20 +02:00
Dmitry Vyukov
9e2843cdfd Makefile: actually cross-compile during presubmit 2017-06-26 15:45:51 +02:00
Dmitry Vyukov
0fd3577a0a vm/vmimple: fix build and reformat 2017-06-26 15:36:54 +02:00
Dmitry Vyukov
d8daf57eca pkg/csource: regenerate 2017-06-26 15:34:54 +02:00
Zach Riggle
2420edb02e Port console to Darwin (#253)
* Port console to Darwin

* Get syz-executor to build correctly

* Do not export unix and syscall constants

* Add presubmit test

* Add myself to contributors
2017-06-26 15:32:38 +02:00
Andrey Konovalov
dd93f0378a repro: reproExtractProg may fail (#254) 2017-06-26 15:30:54 +02:00
Andrey Konovalov
9476140df2 Merge pull request #252 from xairy/up-report-headers
report: add more rcu stall regexps
2017-06-26 14:17:45 +02:00
Andrey Konovalov
913a0cfe5a report: add more rcu stall regexps 2017-06-26 14:13:22 +02:00
Dmitry Vyukov
b3ae011196 pkg/osutil: port to darwin 2017-06-26 13:43:20 +02:00
Dmitry Vyukov
8ebb2147d9 pkg/fileutil: port to darwin 2017-06-26 13:42:52 +02:00
Dmitry Vyukov
9630a49ef9 sys/syz-extract: reformat 2017-06-26 10:56:18 +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
Dmitry Vyukov
9af3153420 syz-dash/dashboard: move from dashboard
Move the old dashboard API into syz-dash
to get it out of the way of the new dashboard.
2017-06-23 15:22:34 +02:00
Dmitry Vyukov
350f45c589 vendor: vendor appengine/aetest package 2017-06-23 15:16:22 +02:00
Dmitry Vyukov
f243096323 vendor: vendor appengine dependencies 2017-06-22 16:33:31 +02:00
Dmitry Vyukov
c6619d5b58 syz-dash: fix build 2017-06-22 16:31:38 +02:00
Dmitry Vyukov
0b4cf413ea Merge pull request #241 from dvyukov/dvyukov-ci
syz-ci: add continuous integration system
2017-06-22 16:27:37 +02:00
Dmitry Vyukov
5509235822 Merge pull request #248 from raminfp/master
Added GCC and glibc
2017-06-22 15:32:46 +02:00
raminfp
90d10743fc Added GCC and glibc 2017-06-22 17:22:32 +04:30
Andrey Konovalov
e02fb02141 Update found_bugs.md 2017-06-22 12:19:46 +02:00
Andrey Konovalov
268bf907e1 Merge pull request #239 from xairy/up-better-repro
Minor reproducing improvements
2017-06-21 19:39:57 +02:00
Andrey Konovalov
f1a56fe3b6 Update found_bugs.md 2017-06-21 14:10:21 +02:00
Andrey Konovalov
02f480cc26 Update linux_kernel_reporting_bugs.md 2017-06-21 12:06:27 +02:00
Dmitry Vyukov
6573032fff syz-ci: add continuous integration system 2017-06-20 19:59:55 +02:00
Dmitry Vyukov
fea266b33f pkg/osutil: add FilesExist/CopyFiles/LinkFiles functions
Will be required by the new build system.
2017-06-20 19:59:47 +02:00
Dmitry Vyukov
e39114dc0c pkg/kernel: move partial config functionality into a separate function
Move partial config functionality into BuildWithPartConfig.
It is used only for syz-gce which will be removed soon.
Provide a better interface for new continuous build system.
2017-06-20 19:59:42 +02:00
Dmitry Vyukov
5cc5b2714e pkg/fileutil: improve CopyFile
Make CopyFile atomic and preserve permissions.
2017-06-20 19:53:13 +02:00
Dmitry Vyukov
99d2454c57 pkg/git: improve Poll
Support changing repo/branch and force pushes.
2017-06-20 19:52:50 +02:00
Dmitry Vyukov
653ec8a64a dashboard: add New function 2017-06-20 19:52:50 +02:00
Andrey Konovalov
7a3201d2ad Update found_bugs.md 2017-06-20 17:16:23 +02:00
Dmitry Vyukov
cc4c8e16f2 Merge pull request #240 from daveti/master
arm64 doc update
2017-06-20 08:42:23 +02:00
daveti
a958ca9369 arm64 doc update 2017-06-19 20:43:45 -04:00
Andrey Konovalov
13bb219fe8 Merge pull request #235 from jbcayrou/ethtool
sys: Add ETHTOOL ioctl in socket.txt
2017-06-19 20:12:49 +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
Dmitry Vyukov
f94617a321 pkg/kernel: reduce Build parallelism
NumCPU*2 can create excessive number of subprocesses
in the case machine is busy with other things as well.
2017-06-19 16:48:46 +02:00
Dmitry Vyukov
9dcb6799c7 pkg/kernel: fix CreateImage
- Move does not work across filesystems (i.e. tmpfs->disk)
- set proper permissions for ssh key
2017-06-19 16:47:42 +02:00
Dmitry Vyukov
4799d21e01 pkg/osutil: fix IsExist
Currently it returns true for "/some/existing/file/foo"
because that returns ENOTDIR.
2017-06-19 16:44:39 +02:00
Dmitry Vyukov
b6e969be7a pkg/osutil: add helper function for SIGINT handling 2017-06-19 16:43:23 +02:00