syzkaller/executor
Mark Johnston 01975a06cb executor: always ignore SIGBUS on FreeBSD
syz-executor uses a heuristic to help fail closed if an invalid access
might corrupt the output region.  This heuristic fails on FreeBSD, where
SIGBUS is delievered with si_addr equal to address of the faulting
instruction, rather than 0 when the fault address cannot be determined
(e.g., an amd64 protection fault).  Always handle SIGBUS quietly on
FreeBSD.

This fixes pkg/runtest tests for sys/test/test/nonfailing.
2020-08-08 11:09:48 +02:00
..
android executor: minor cleanup of android sandbox 2020-03-11 12:09:17 +01:00
common_akaros.h executor: fix do_sandbox_none on akaros and test 2019-01-31 11:35:53 +01:00
common_bsd.h executor: add some code style checks 2020-08-06 15:27:41 +02:00
common_fuchsia.h executor/fuchsia: Don't map memory as executable. 2020-06-05 16:46:48 -03:00
common_kvm_amd64.h executor: fix build errors in setup_32bit_idt() 2020-07-21 13:04:43 +02:00
common_kvm_arm64.h executor: remove NONFAILING from pseudo-syscalls 2020-07-15 09:26:23 +02:00
common_linux.h sys/linux: add descriptions for BPF LSM 2020-08-07 09:28:26 +02:00
common_test.h executor: make syz_compare output more handy to use 2019-12-20 16:45:33 +01:00
common_usb_linux.h executor: remove NONFAILING from pseudo-syscalls 2020-07-15 09:26:23 +02:00
common_usb_netbsd.h executor: remove block comments 2020-08-04 16:53:31 +02:00
common_usb.h executor: remove NONFAILING from pseudo-syscalls 2020-07-15 09:26:23 +02:00
common_windows.h executor: fix do_sandbox_none on akaros and test 2019-01-31 11:35:53 +01:00
common.h executor: always ignore SIGBUS on FreeBSD 2020-08-08 11:09:48 +02:00
executor_akaros.h executor: change syscall argument type to intptr_t 2019-05-07 08:48:35 +02:00
executor_bsd.h executor: use MAP_EXCL to map the data region on FreeBSD 2020-08-08 11:09:48 +02:00
executor_fuchsia.h executor/fuchsia: Don't map memory as executable. 2020-06-05 16:46:48 -03:00
executor_linux.h ipc: fix endianness issues 2020-06-23 16:18:44 +02:00
executor_test.h executor: change syscall argument type to intptr_t 2019-05-07 08:48:35 +02:00
executor_windows.h executor: change syscall argument type to intptr_t 2019-05-07 08:48:35 +02:00
executor.cc executor: add some code style checks 2020-08-06 15:27:41 +02:00
gen.go executor: enable KVM generator only on AMD64 arch 2020-06-17 17:43:56 +02:00
kvm_gen.cc Makefile: enable clang-tidy in presubmit tests 2020-08-04 16:54:02 +02:00
kvm.h sys: improve kvm description 2017-01-28 19:58:31 +01:00
kvm.S executor: remove unused kvm_asm64_vm86 2019-01-17 10:52:20 +01:00
kvm.S.h all: fix marking of auto-generated files 2020-07-29 13:36:11 +02:00
nocover.h executor: Protect the coverage buffer 2019-06-04 16:24:36 +02:00
stub.go .golangci.yml: enable godot checker 2020-06-05 12:23:19 +02:00
style_test.go executor: add some code style checks 2020-08-06 15:27:41 +02:00
test_linux.h executor: add some code style checks 2020-08-06 15:27:41 +02:00
test.h executor: fix bitfields for big-endian arch 2020-07-10 10:25:58 +02:00