aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_darwin.h
Commit message (Collapse)AuthorAgeFilesLines
* executor: delay kcov mmap until it is neededAleksandr Nogikh2021-12-031-11/+7
| | | | | | | | | The previous strategy (delay kcov instance creation) seems not to work very well in carefully sandboxed environments. Let's see if the new approach is more versatile. Open a kcov handle for each thread at syz-executor's initialization, but don't mmap it right away.
* executor: reserve fds that will belong to kcovAleksandr Nogikh2021-12-031-0/+8
| | | | | | | | | As now kcov instances may get set up during fuzzing, performing dup2 in cover_open is no longer safe as it may close some important resource. Prevent that by reserving most of fds that belong to the kcov fds range. Unfortunately we must duplicate the code because of the way kcov implementations are organized.
* executor: initial darwin supportPatrick Meyer2021-05-201-0/+123