mirror of
https://github.com/reactos/syzkaller.git
synced 2024-12-11 21:34:13 +00:00
85b1f93f8d
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.
799 B
799 B
Akaros support
Akaros support is incomplete.
See Akaros getting started re kernel building/running.
Akaros does not support Go at the moment (except for a broken
1.3 port). Full Go support is planned
for Akaros. Until that happens running on Akaros is challening. However,
syz-stress
can be run as follows:
make TARGETOS=linux syz-stress
make TARGETOS=akaros SOURCEDIR=/akaros/checkout executor
scp -P 5555 -i akaros_id_rsa -o IdentitiesOnly=yes bin/akaros_amd64/syz-executor root@localhost:/
bin/linux_amd64/syz-stress -os=akaros -ipc=pipe -executor "/usr/bin/ssh -p 5555 -i akaros_id_rsa -o IdentitiesOnly=yes root@localhost /syz-executor"