aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDokyung Song <dokyungs@google.com>2018-09-05 12:45:17 -0700
committerDmitry Vyukov <dvyukov@google.com>2018-09-06 21:18:15 +0200
commite30d3b524053cf8d688a1f486a5cde9b67d49e87 (patch)
tree8743bf3e125c306042793f7f7f23822e747715c0 /docs
parent0bb7a7eb8e0958c6fbe2d69615b9fae4af88c8ee (diff)
sys/fuchsia: add Go script that generates fidl descriptions
Diffstat (limited to 'docs')
-rw-r--r--docs/fuchsia.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/fuchsia.md b/docs/fuchsia.md
index 44b6eeaff..ce7b82f1e 100644
--- a/docs/fuchsia.md
+++ b/docs/fuchsia.md
@@ -48,6 +48,14 @@ Run `syz-manager` with a config along the lines of:
## How to generate syscall description for FIDL
+Use `generate_fidl` target to automatically generate syscall descriptions for all the supported FIDL files.
+
+```bash
+make generate_fidl TARGETARCH=amd64 SOURCEDIR=/path/to/fuchsia/checkout
+```
+
+To manually generate syscall description for a given `.fidl` file, use the following instruction.
+
FIDL files should first be compiled into FIDL intermediate representation (JSON) files using `fidlc`:
```bash