The entry output_liar
A writer that lies about the condition of its wiring . It takes the end of its record output past the library, answers Taken, and writes into the ring the joined record of 0 and one record of the status 200, whatever the condition of the wiring says. The console, which reads output_liar.counts |> where(status = 404), must refuse that record as a fault of the writer, never drop it in silence.
Start: start("output_liar") in the console. What a reader sees: no window; one line "output_liar: ...: as it must", or a line "output_liar: WRONG: ...". Its starter stops it.
output_liar module with an entry
- Hash
4985ff786e83c2dc91a3ccf3f6a4d6627b85a8eba0ee2dab9f11e0b32de1a5ff- Size
36864 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
A writer that lies about the condition of its wiring
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/output_liar |
| Boot image | yes: in the boot image, 36864 bytes in this build |
| Build settings | none: the defaults of the source |
| Imports | none |
| Imported by | none |
Neighbours
It imports no module, and no module imports it. The module graph shows it with the other modules that have no edge.
Exports
| Export | What it does |
|---|---|
entry() |
entry
entry()
- Form
- The entry of the module: one parameter, an address, fixed by the contract.
src/modules/tests/output_liar/main.odin:68
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
| What | Value | As the root service says |
|---|---|---|
| Grants | none | A writer that writes its ring past the library and ignores the condition of its wiring: the console must refuse its record. |
| Other terms of its start grant set | none | |
| Budget that it asks for |
| 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).
