aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.h
Commit message (Collapse)AuthorAgeFilesLines
* executor: prevent executor from messing with output regionDmitry Vyukov2017-10-231-16/+22
| | | | | | | | When comparisons are enabled fuzzer somehow manages to discover the output region and corrupt it. It seems to fetch the address from some memory operations (mmap/munmap). Don't leak the output region address.
* pkg/ipc: move fallback coverage into executorDmitry Vyukov2017-10-181-0/+1
| | | | | It seems to explode linux corpus. So make it freebsd-specific.
* executor: use forkserver for freebsdDmitry Vyukov2017-10-181-0/+1
| | | | | | | Use forkserver and shmem for freebsd. This greatly improves speed. Also introduce fallback coverage signal based on unique (syscall+errno) pairs.
* executor: improvements for akarosDmitry Vyukov2017-10-171-14/+11
| | | | | | | 1. remove workaround for pthread attrs (was fixed in akaros) 2. remove workaround for dup2 (was fixed in akaros) 3. check that we receive a program 4. implement timeout for test processes
* executor, pkg/ipc: unify ipc protocol between linux and other OSesDmitry Vyukov2017-10-161-4/+148
| | | | | | | | | | | | | | | | | We currently use more complex and functional protocol on linux, and a simple ad-hoc protocol on other OSes. This leads to code duplication in both ipc and executor. Linux supports coverage, shared memory communication and fork server, which would also be useful for most other OSes. Unify communication protocol and parametrize it by (1) use of shmem or only pipes, (2) use of fork server. This reduces duplication in ipc and executor and will allow to support the useful features for other OSes easily. Finally, this fixes akaros support as it currently uses syz-stress running on host (linux) and executor running on akaros.
* executor: add PC to kcov_comparison_tAlexander Potapenko2017-10-161-1/+4
| | | | | | | KCOV comparisons support is in the kernel mm tree already, and the patch contains an additional uint64_t to store PCs of functions calling __sanitizer_cov_trace_XXX(). Change kcov_comparison_t accordingly.
* executor, sys/windows: initial windows supportDmitry Vyukov2017-09-251-18/+4
|
* all: more assorted fuchsia supportDmitry Vyukov2017-09-221-0/+684