diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-03-27 12:28:46 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-03-27 18:18:39 +0000 |
| commit | 120789fd6691dd038dbe206ceeed95be5c006364 (patch) | |
| tree | c8282205296286fa05bfc3e7a132601d5b291795 /docs | |
| parent | 4aecaec7b552451908682c3d8917025f6bb27fe8 (diff) | |
docs: update the details on the syzkaller architecture
After #4579, syz-fuzzer no longer performs the actual fuzzing.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals.md | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/docs/internals.md b/docs/internals.md index 0697c887f..6ee44bfe3 100644 --- a/docs/internals.md +++ b/docs/internals.md @@ -11,17 +11,23 @@ red labels indicate corresponding configuration options.  -The `syz-manager` process starts, monitors and restarts several VM instances, and starts a `syz-fuzzer` process inside of the VMs. -`syz-manager` is responsible for persistent corpus and crash storage. -It runs on a host with stable kernel which does not experience white-noise fuzzer load. +`syz-manager` is responsible for: +* Starting/restarting/monitoring VM instances. +* The actual fuzzing process (input generation, mutation, minimization, etc.). +* Persistent corpus and crash storage. -The `syz-fuzzer` process runs inside of presumably unstable VMs. -The `syz-fuzzer` guides fuzzing process (input generation, mutation, minimization, etc.) and sends inputs that trigger new coverage back to the `syz-manager` process via RPC. -It also starts transient `syz-executor` processes. +It runs on a host with a stable kernel which does not experience white-noise fuzzer load. + +`syz-manager` starts `syz-fuzzer` processes (one inside each VM). +`syz-fuzzer`s comminucate with `syz-manager` over RPC to receive the programs +that must be executed and to report back the results (error statuses, collected coverage, etc.). + +To execute programs, `syz-fuzzer` starts transient `syz-executor` processes. Each `syz-executor` process executes a single input (a sequence of syscalls). It accepts the program to execute from the `syz-fuzzer` process and sends results back. -It is designed to be as simple as possible (to not interfere with fuzzing process), written in C++, compiled as static binary and uses shared memory for communication. +It is designed to be as simple as possible (to not interfere with fuzzing process), +written in C++, compiled as static binary and uses shared memory for communication. ## Syscall descriptions |
