diff options
| author | Alexander Potapenko <glider@google.com> | 2026-01-14 10:15:48 +0100 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2026-01-15 07:19:29 +0000 |
| commit | 8d22bd8bfc28c79be87ab5da9975cbfe8c78beee (patch) | |
| tree | db8df73ccb45dc5c5eb6cf3d0f7b05ad8eba370d | |
| parent | be17c9cc24473b811d7b23ba61b6304aa4558fd6 (diff) | |
docs: tweak syzos.md to reflect void arguments
| -rw-r--r-- | docs/syzos.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/syzos.md b/docs/syzos.md index df292ea72..60730ae28 100644 --- a/docs/syzos.md +++ b/docs/syzos.md @@ -165,7 +165,7 @@ Modify the architecture-specific executor header (e.g., `executor/common_kvm_amd GUEST_CODE static void guest_handle_nested_amd_vmcb_write_mask(struct api_call_5* cmd, uint64 cpu_id); ``` -Note: make sure to choose the optimal api_call_N structure that exactly matches the number of arguments required by your new primitive (e.g., use struct api_call_2 for a command needing two arguments). +Note: make sure to choose the optimal api_call_N structure that exactly matches the number of arguments required by your new primitive (e.g., use struct api_call_2 for a command needing two arguments). If no arguments are required, omit the `cmd` parameter altogether. If the guest code does not access VMCB/VMCS, omit the `cpu_id` parameter. ### Step 2: Implement Guest Logic and Dispatch In the same file (or corresponding source), implement the guest logic. |
