modus
Menu
On this page

The entry operation_fuzzing

The process that runs operation sequences (Fuzzing of the kernel operations in the repository, "The processes in the machine").

What it is for. It takes each operation sequence that the tool writes in its mailbox, runs it in a new runner with a new budget, and writes the answers of the kernel and the amounts of that budget back, so that the tool checks them against the forms of the kernel operations.

Start: the root service starts it on the machine of the operation sequences only, whose boot image holds it, with the machine with the right Physical only, the boot image and the log. A release refuses an image that holds it.

operation_fuzzing module with an entry

Hash
615a3b86b2128d60d00c05cb0bd3e1155b48e14ba2c3cb74f8ddd679b94b8c1a
Size
106496 bytes
Exports
0
Imports
0
Imported by
0
License
MIT

The process that runs operation sequences

FactValue
KindModules with an entry
Sourcesrc/modules/tests/operation_fuzzing
Boot imageno: not in the boot image
Build settingsnone: the defaults of the source
Importsnone
Imported bynone

Neighbours

It imports no module, and no module imports it. The module graph shows it with the other modules that have no edge.

Exports

ExportWhat it does
entry()

entry

entry()
Form
The entry of the module: one parameter, an address, fixed by the contract.
Source
src/modules/tests/operation_fuzzing/main.odin:59

Read from the source of the module, as the build reads it to describe the exports (tools/modustool/build/describe.odin).

What the root service gives it

WhatValueAs the root service says
GrantsnoneOn the machine of the operation sequences, its start list asks for it, and operation_fuzzing_start gives it the machine with the right Physical only, for the physical address of its mailbox, the boot image for the module of its runner, and the log, which it gives to each runner; a command Start of another sender gives it no grant. Only the boot image of the operation sequences holds it, and a release refuses an image that holds it.
Other terms of its start grant setlog_gives = true
Budget that it asks for
  • the least budget
No MODULE_BUDGET in its source: it asks for the least budget.

The start grant set is read from start_grant_sets in src/modules/system/root/start_grant_sets.odin. The stated budget is read from the constant MODULE_BUDGET of the source of the module; the build adds the counted parts and writes the sum in the module (tools/modustool/build/budget_count.odin); the root service accepts it up to the largest budget of a process, and adds the limits of processor time and of log records (src/modules/system/root/budgets.odin).