verifier: max_value_size and checked size accounting (Q-020, DD-015)
- spec 08 §7.1: platform-independent accounted size table shared by max_value_size and max_local_frame; enum tag is the smallest of 1/2/4/8 bytes; borrows 8, slices 16; checked arithmetic, overflow is E5101 with found = "overflow" - every materializable type in a module must be at most 1 MiB, checked before functions are verified; each oversized type reported once - E5101 fields no longer truncate huge sizes - conformance: frame_too_large, value_too_large, size_overflow - Q-020 resolved; Phase 1 closed
This commit is contained in:
1 parent
e3dc0fb7bb
commit
2ddf424c14
8 files changed
+165
-34
No files matched your search
@@ -4,6 +4,7 @@ Status: Accepted (revision 2, after owner review items 1–5)
|
||||
Scope: AIR format 0, features `ownership` and `arrays`
|
||||
Language version: 0.1
|
||||
Erratum (during integration): the array type is spelled `array<T, N>` in text AIR, because `;` starts a comment; revision 2 wrote `[T; N]`. Source syntax may keep `[T; N]`.
|
||||
Later change: the accounted-size table moved to spec 08 §7.1 and gained `max_value_size` and the enum tag rule (DD-015, Q-020).
|
||||
Integrated into: spec 03 §6, §4, §8.1; spec 07 §8.8; spec 07a; spec 08 §11–§14; `reference/air-text.ebnf`, `reference/air-features.md`, `reference/error-codes.md`
|
||||
Supersedes: —
|
||||
|
||||
|
||||
Reference in new issue
Block a user