tests: audit source rejections before AIR lowering
This commit is contained in:
1 parent
a491eba193
commit
ba99ad6727
7 files changed
+192
-9
No files matched your search
@@ -1763,6 +1763,38 @@
|
||||
"site": "function",
|
||||
"spec": "docs/spec/08-verifier.md \u00a77.1",
|
||||
"rule": "A parameter of array<array<u8,1024>,1025> accounts 1049600 bytes in both artifacts, preserving the complete value-size budget facts."
|
||||
},
|
||||
"phase1/reject/nested_size_cycle_overflow.air": {
|
||||
"kind": "source_early",
|
||||
"site": "declaration",
|
||||
"lowering": "rejected",
|
||||
"spec": "docs/spec/15-source-language.md \u00a71/\u00a710; docs/spec/08-verifier.md \u00a77.1",
|
||||
"rule": "Both declarations have u8 n and an array of 4294967296 A values by value. Source finite-layout validation rejects E1003 at A before emitting AIR; the AIR input budget reports E5101 with bounded size 4294967297 first. This is an earlier-stage analogue, not same-code coverage or an AIR-only source shape.",
|
||||
"air_fields": {
|
||||
"kind": "verifier.resource_limit",
|
||||
"limit": "value size bytes",
|
||||
"max": 1048576,
|
||||
"found": 4294967297,
|
||||
"type": "@A"
|
||||
},
|
||||
"analogues": [
|
||||
{
|
||||
"source": "source/size_limits/nested_size_cycle.aji",
|
||||
"codes": [
|
||||
"E1003"
|
||||
],
|
||||
"fields": {
|
||||
"kind": "type.recursive",
|
||||
"type": "A"
|
||||
}
|
||||
}
|
||||
],
|
||||
"early_context": {
|
||||
"air": "c3eff4c2941ee59e32f9ae4a6aa5e68ef0986f5140301a88a81b86447dab4957",
|
||||
"sources": {
|
||||
"source/size_limits/nested_size_cycle.aji": "b549c862021856f209331a024ba419bf49cf3deb48989bb24c9147ae38e5fc6f"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user