mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
docs: update fuchsia instructions
This commit is contained in:
parent
a251f32666
commit
e0e534c6c2
2
Makefile
2
Makefile
@ -42,7 +42,7 @@ GO := go
|
||||
export CGO_ENABLED=0
|
||||
|
||||
ifeq ("$(TARGETOS)", "fuchsia")
|
||||
# SOURCEDIR should point to zircon checkout.
|
||||
# SOURCEDIR should point to fuchsia checkout.
|
||||
GO = $(SOURCEDIR)/buildtools/go
|
||||
export CGO_ENABLED=1
|
||||
ifeq ("$(TARGETARCH)", "amd64")
|
||||
|
@ -1,5 +1,14 @@
|
||||
# Fuchsia support
|
||||
|
||||
For information about checking out and building Fuchsia see
|
||||
[Getting Started](https://fuchsia.googlesource.com/docs/+/master/getting_started.md)
|
||||
and [Soure Code](https://fuchsia.googlesource.com/docs/+/master/development/source_code/README.md).
|
||||
Image needs to be configured with sshd support:
|
||||
```
|
||||
fx set x64 --packages garnet/packages/products/sshd
|
||||
fx full-build
|
||||
```
|
||||
|
||||
To update descriptions run:
|
||||
```
|
||||
make extract TARGETOS=fuchsia SOURCEDIR=/path/to/fuchsia/checkout
|
||||
@ -11,9 +20,27 @@ To build binaries:
|
||||
make TARGETOS=fuchsia TARGETARCH=amd64 SOURCEDIR=/path/to/fuchsia/checkout
|
||||
```
|
||||
|
||||
To run:
|
||||
Run `syz-manager` with a config along the lines of:
|
||||
```
|
||||
$SOURCEDIR/out/build-zircon/tools/netcp bin/fuchsia_amd64/syz-executor :/syz-executor
|
||||
$SOURCEDIR/out/build-zircon/tools/netcp bin/fuchsia_amd64/syz-stress :/syz-stress
|
||||
$SOURCEDIR/out/build-zircon/tools/netruncmd : "/syz-stress -executor /syz-executor"
|
||||
{
|
||||
"name": "fuchsia",
|
||||
"target": "fuchsia/amd64",
|
||||
"http": ":12345",
|
||||
"workdir": "/workdir.fuchsia",
|
||||
"vmlinux": "/fuchsia/out/build-zircon/build-x64/zircon.elf",
|
||||
"syzkaller": "/syzkaller",
|
||||
"image": "/fuchsia/out/x64/images/fvm.blk",
|
||||
"sshkey": "/fuchsia/out/x64/ssh-keys/id_ed25519",
|
||||
"reproduce": false,
|
||||
"cover": false,
|
||||
"procs": 8,
|
||||
"type": "qemu",
|
||||
"vm": {
|
||||
"count": 10,
|
||||
"cpu": 4,
|
||||
"mem": 2048,
|
||||
"kernel": "/fuchsia/out/build-zircon/build-x64/zircon.bin",
|
||||
"initrd": "/fuchsia/out/x64/bootdata-blob.bin"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user