Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/evidence/OM2-COMPILER/s4/export/s5s7-all.cases # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / evidence / OM2-COMPILER / s4 / export / s5s7-all.cases` 314 lines ยท 29539 bytes Raw Blame History 1 # OM-2 qualification lane s5s7 (#748, ledger L836): candidate OM-2 compiler cases for contract 2 # spec/omegese-om2.md (sha256 `245bb74e`...0881) sections 5, 6, 7 and errata E1-E5 (om2/contract). 3 # Run from the worktree root: build/om2-qual/gate-b OMC OMC_SHA256 seed/qualification/om2/sec/s5s7/candidate.cases SCRATCH 4 # Every expectation cites its contract line. Expected stdout files: oracle/s5s7/exp (python3, gcc). 5 # Refusals 27/28/29 are exact (`emit SRC - err:LINE:CODE CODE`, lines per erratum E8); other codes use 6 # `refuse` (code only: E8 fixes lines for 27/28/29 only). 7 # ASSUMPTION tags refer to README.txt. NOT_RUN rows are planned cases, never PASS. 8 9 10 ## Section 5: fresh scratch (contract lines 120-130) 11 # contract 122-124: one-branch write intersected with fall-through; constant get not definitely written -> 27; erratum E8: 27 names the get/call line = line 10 12 f5-branch emit seed/qualification/om2/sec/s5s7/f5-branch.om+seed/qualification/om2/sec/s5s7/pr.om - err:10:27 27 13 # contract 123-124: rolled loop contributes nothing -> 27; erratum E8: 27 names the get/call line = line 9 14 f5-loop emit seed/qualification/om2/sec/s5s7/f5-loop.om+seed/qualification/om2/sec/s5s7/pr.om - err:9:27 27 15 # contract 122-124: straight-line write then read accepted 16 f5-line run seed/qualification/om2/sec/s5s7/f5-line.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/f5-line.out - 0 17 # contract 125-126, 87-88: all N bits written by unroll -> non-constant get accepted 18 f5-unroll-all run seed/qualification/om2/sec/s5s7/f5-unroll-all.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/f5-unroll-all.out - 0 19 # contract 120: N = 64 accepted (upper bound) 20 f5-n64 run seed/qualification/om2/sec/s5s7/f5-n64.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/f5-n64.out - 0 21 # contract 120 + erratum E8: fresh N = 65 > 64 -> error 14 (obligation=init) 22 f5-n65 refuse seed/qualification/om2/sec/s5s7/f5-n65.om+seed/qualification/om2/sec/s5s7/pr.om 14 23 # contract 125-126: non-constant get with element 7 unwritten -> 27; erratum E8: 27 names the get/call line = line 9 24 f5-partial emit seed/qualification/om2/sec/s5s7/f5-partial.om+seed/qualification/om2/sec/s5s7/pr.om - err:9:27 27 25 # contract 127: fresh array passed to a non-inline call -> 27; erratum E8: 27 names the get/call line = line 12 26 f5-call emit seed/qualification/om2/sec/s5s7/f5-call.om+seed/qualification/om2/sec/s5s7/pr.om - err:12:27 27 27 # contract 127: fresh array passed to write -> 27; erratum E8: 27 names the get/call line = line 9 28 f5-write emit seed/qualification/om2/sec/s5s7/f5-write.om+seed/qualification/om2/sec/s5s7/pr.om - err:9:27 27 29 # contract 127: fresh array passed to read -> 27; erratum E8: 27 names the get/call line = line 5 30 f5-read emit seed/qualification/om2/sec/s5s7/f5-read.om+seed/qualification/om2/sec/s5s7/pr.om - err:5:27 27 31 # contract 127: fresh array passed to part -> 27; erratum E8: 27 names the get/call line = line 12 32 f5-part emit seed/qualification/om2/sec/s5s7/f5-part.om+seed/qualification/om2/sec/s5s7/pr.om - err:12:27 27 33 # contract 122: written in both arms -> in the intersection at the join, accepted 34 f5-ifelse run seed/qualification/om2/sec/s5s7/f5-ifelse.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/f5-ifelse.out - 0 35 # contract 122: arms write different elements; empty intersection -> 27 (union mutant accepts); erratum E8: 27 names the get/call line = line 12 36 f5-join-diff emit seed/qualification/om2/sec/s5s7/f5-join-diff.om+seed/qualification/om2/sec/s5s7/pr.om - err:12:27 27 37 # contract 124, 127, 93-98: inline callee writes all at constant indexes -> accepted (README A3) 38 f5-inline run seed/qualification/om2/sec/s5s7/f5-inline.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/f5-inline.out - 0 39 40 ## Section 5: abstract types and the dup32 invariant (contract lines 131-152) 41 # contract 136, 140-148: exact ctor, open, rotr = dup of 32-bit rotation, xor 42 a5-exact run seed/qualification/om2/sec/s5s7/a5-exact.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/a5-exact.out - 0 43 # contract 140-143: rotr rotl and or xor all listed 44 a5-allops run seed/qualification/om2/sec/s5s7/a5-allops.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/a5-allops.out - 0 45 # contract 140 + 79-81: rotr n = 64 on a 64-bit representation traps 7 (E8); n has type T = ulong (E9) 46 a5-rot64 run seed/qualification/om2/sec/s5s7/a5-rot64.om+seed/qualification/om2/sec/s5s7/pr.om - - - 107 47 # contract 148-150, 36-38: exact body -> omc-check erased rule=dup32 (confirmed by erratum E8) 48 a5-exact-diag emit seed/qualification/om2/sec/s5s7/a5-exact-diag.om any has:seed/qualification/om2/sec/s5s7/diag/a5-exact-diag.has 0 49 # contract 148-149: non-exact body keeps the check; false for every x -> trap 10, exit 110 50 a5-kept run seed/qualification/om2/sec/s5s7/a5-kept.om+seed/qualification/om2/sec/s5s7/pr.om - - - 110 51 # contract 148-150, 114-116: kept rule=- and the trap-10 site (confirmed by erratum E8) 52 a5-kept-diag emit seed/qualification/om2/sec/s5s7/a5-kept-diag.om any has:seed/qualification/om2/sec/s5s7/diag/a5-kept-diag.has 0 53 # contract 145-149: commuted body is not exact; check kept but holds -> exit 0 54 a5-swap run seed/qualification/om2/sec/s5s7/a5-swap.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/a5-swap.out - 0 55 # contract 145-150: commuted body reported kept rule=- (confirmed by erratum E8) 56 a5-swap-diag emit seed/qualification/om2/sec/s5s7/a5-swap-diag.om any has:seed/qualification/om2/sec/s5s7/diag/a5-swap-diag.has 0 57 # contract 133-135: seal outside dup32mk -> 28; erratum E8: 28 names the seal line (holds line for a predicate) = line 11 58 a5-seal-main emit seed/qualification/om2/sec/s5s7/a5-seal-main.om+seed/qualification/om2/sec/s5s7/pr.om - err:11:28 28 59 # contract 133-135: exact body in a function not named dup32mk -> 28; erratum E8: 28 names the seal line (holds line for a predicate) = line 11 60 a5-seal-other emit seed/qualification/om2/sec/s5s7/a5-seal-other.om+seed/qualification/om2/sec/s5s7/pr.om - err:11:28 28 61 # contract 136: bare number where dup32 is required -> 7 62 a5-raw-num refuse seed/qualification/om2/sec/s5s7/a5-raw-num.om+seed/qualification/om2/sec/s5s7/pr.om 7 63 # contract 136: ulong value passed to a dup32 parameter -> 7 64 a5-raw-arg refuse seed/qualification/om2/sec/s5s7/a5-raw-arg.om+seed/qualification/om2/sec/s5s7/pr.om 7 65 # contract 136: ulong value returned as dup32 -> 7 66 a5-raw-ret refuse seed/qualification/om2/sec/s5s7/a5-raw-ret.om+seed/qualification/om2/sec/s5s7/pr.om 7 67 # contract 136 + OMEGESE 9.3: ulong assigned to a dup32 name -> 7 68 a5-raw-assign refuse seed/qualification/om2/sec/s5s7/a5-raw-assign.om+seed/qualification/om2/sec/s5s7/pr.om 7 69 # contract 142-143: and not listed -> 7 (erratum E8) 70 a5-op-and refuse seed/qualification/om2/sec/s5s7/a5-op-and.om+seed/qualification/om2/sec/s5s7/pr.om 7 71 # contract 142-143: rotl not listed -> 7 (erratum E8) 72 a5-op-rotl refuse seed/qualification/om2/sec/s5s7/a5-op-rotl.om+seed/qualification/om2/sec/s5s7/pr.om 7 73 # contract 143: add is not preserving -> 7 (erratum E8) 74 a5-op-add refuse seed/qualification/om2/sec/s5s7/a5-op-add.om+seed/qualification/om2/sec/s5s7/pr.om 7 75 # contract 149: any other predicate -> 28; erratum E8: 28 names the seal line (holds line for a predicate) = line 5 76 a5-pred emit seed/qualification/om2/sec/s5s7/a5-pred.om+seed/qualification/om2/sec/s5s7/pr.om - err:5:28 28 77 # erratum E6 Q1: reserved word seal declared as a name in an OM-2 unit -> 16 on the declaring line 6 (as OM-1 for fn break); distinct from the pinned om2-line refusal 78 a5-name-seal emit seed/qualification/om2/sec/s5s7/a5-name-seal.om+seed/qualification/om2/sec/s5s7/pr.om - err:6:16 16 79 # contract 137 + erratum E8: abstract type as entry parameter -> 7 80 a5-entry-param refuse seed/qualification/om2/sec/s5s7/a5-entry-param.om 7 81 # contract 137 + erratum E8: abstract type as entry return -> 7 82 a5-entry-ret refuse seed/qualification/om2/sec/s5s7/a5-entry-ret.om 7 83 # contract 137-138 + erratum E8: array of an abstract type -> 7 84 a5-array refuse seed/qualification/om2/sec/s5s7/a5-array.om+seed/qualification/om2/sec/s5s7/pr.om 7 85 86 ## Section 5: external layout (contract lines 153-165, erratum E5) 87 # contract 163-165 + E5: shactx image equals sha256.h (offsetof oracle) 88 l5-shactx run seed/qualification/om2/sec/s5s7/l5-shactx.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/l5-shactx.out - 0 89 # contract 158: big-endian MSB first, little LSB first, get reads back; E5 COUNT 1 is an array 90 l5-endian run seed/qualification/om2/sec/s5s7/l5-endian.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/l5-endian.out - 0 91 # contract 154, 158 + E5: COUNT omitted -> scalar, no index 92 l5-scalar run seed/qualification/om2/sec/s5s7/l5-scalar.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/l5-scalar.out - 0 93 # contract 158 + errata E5/E8: extra index on a scalar field -> 5 94 l5-scalar-idx refuse seed/qualification/om2/sec/s5s7/l5-scalar-idx.om+seed/qualification/om2/sec/s5s7/pr.om 5 95 # contract 158 + errata E5/E8: missing index on a COUNT 1 array field -> 4 96 l5-count1-noidx refuse seed/qualification/om2/sec/s5s7/l5-count1-noidx.om+seed/qualification/om2/sec/s5s7/pr.om 4 97 # contract 159: run-time field index 64 of COUNT 64 -> trap 3 98 l5-trap run seed/qualification/om2/sec/s5s7/l5-trap.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 99 # contract 159 + OMEGESE 9.4: constant field index outside -> 21 (confirmed by erratum E8) 100 l5-const-idx refuse seed/qualification/om2/sec/s5s7/l5-const-idx.om+seed/qualification/om2/sec/s5s7/pr.om 21 101 # contract 154-161: field ending exactly at SIZE, adjacent fields -> accepted 102 l5-fit emit seed/qualification/om2/sec/s5s7/l5-fit.om+seed/qualification/om2/sec/s5s7/pr.om any - 0 103 # contract 155: SIZE 4096, COUNT 4096 -> accepted 104 l5-max emit seed/qualification/om2/sec/s5s7/l5-max.om+seed/qualification/om2/sec/s5s7/pr.om any - 0 105 # contract 160: overlapping fields -> 29; erratum E8: 29 names the field line (layout line for SIZE) = line 6 106 l5-overlap emit seed/qualification/om2/sec/s5s7/l5-overlap.om+seed/qualification/om2/sec/s5s7/pr.om - err:6:29 29 107 # contract 160: field past SIZE -> 29; erratum E8: 29 names the field line (layout line for SIZE) = line 5 108 l5-past emit seed/qualification/om2/sec/s5s7/l5-past.om+seed/qualification/om2/sec/s5s7/pr.om - err:5:29 29 109 # contract 160: field one byte past SIZE -> 29; erratum E8: 29 names the field line (layout line for SIZE) = line 5 110 l5-past1 emit seed/qualification/om2/sec/s5s7/l5-past1.om+seed/qualification/om2/sec/s5s7/pr.om - err:5:29 29 111 # contract 155, 160: COUNT 0 out of range -> 29; erratum E8: 29 names the field line (layout line for SIZE) = line 5 112 l5-count0 emit seed/qualification/om2/sec/s5s7/l5-count0.om+seed/qualification/om2/sec/s5s7/pr.om - err:5:29 29 113 # contract 155, 160: COUNT 4097 out of range -> 29; erratum E8: 29 names the field line (layout line for SIZE) = line 5 114 l5-count4097 emit seed/qualification/om2/sec/s5s7/l5-count4097.om+seed/qualification/om2/sec/s5s7/pr.om - err:5:29 29 115 # contract 160: OFF 5000 out of range -> 29; erratum E8: 29 names the field line (layout line for SIZE) = line 5 116 l5-off emit seed/qualification/om2/sec/s5s7/l5-off.om+seed/qualification/om2/sec/s5s7/pr.om - err:5:29 29 117 # contract 155 + erratum E8: SIZE outside 1..4096 -> 29 on the layout line 4 118 l5-size0 emit seed/qualification/om2/sec/s5s7/l5-size0.om+seed/qualification/om2/sec/s5s7/pr.om - err:4:29 29 119 # contract 155 + erratum E8: SIZE outside 1..4096 -> 29 on the layout line 4 120 l5-size4097 emit seed/qualification/om2/sec/s5s7/l5-size4097.om+seed/qualification/om2/sec/s5s7/pr.om - err:4:29 29 121 # contract 154 + errata E8/E9: layout after the first fn -> 29 naming the layout line 7 122 l5-after-fn emit seed/qualification/om2/sec/s5s7/l5-after-fn.om+seed/qualification/om2/sec/s5s7/pr.om - err:7:29 29 123 # contract 156 + OMEGESE 9.4: put through a view layout -> 20 (confirmed by erratum E8) 124 l5-view-put refuse seed/qualification/om2/sec/s5s7/l5-view-put.om+seed/qualification/om2/sec/s5s7/pr.om 20 125 # contract 156 + OMEGESE 9.4: 103-byte array for a 104-byte layout -> 7 (confirmed by erratum E8) 126 l5-wrong-size refuse seed/qualification/om2/sec/s5s7/l5-wrong-size.om+seed/qualification/om2/sec/s5s7/pr.om 7 127 128 ## Section 6: unsized views and part (contract lines 169-179, erratum E2) 129 # contract 169-170 + E2: sized arrays to view uchar *, len is the run-time length 130 v6-sum run seed/qualification/om2/sec/s5s7/v6-sum.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/v6-sum.out - 0 131 # contract 172-176: part of a local to edit; view part of an edit is a view 132 v6-edit run seed/qualification/om2/sec/s5s7/v6-edit.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/v6-edit.out - 0 133 # contract 170, 106-108: constant index into an unsized view is checked at run time -> trap 3 134 v6-idx run seed/qualification/om2/sec/s5s7/v6-idx.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 135 # contract 170: put at index len into an unsized edit -> trap 3 136 v6-idx-edit run seed/qualification/om2/sec/s5s7/v6-idx-edit.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 137 # contract 173-174, coordinator golden: len 10, o = 2^64-2, k = 4 -> trap 3 (wrapped mutant prints 4) 138 v6-part-wrap run seed/qualification/om2/sec/s5s7/v6-part-wrap.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 139 # contract 173: o = len-2, k = 4 -> k <= len - o fails -> trap 3 140 v6-part-tail run seed/qualification/om2/sec/s5s7/v6-part-tail.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 141 # coordinator decision: the literal #748 golden (len 2^64-1, o 2^64-2, k 4) in a unit 142 v6-part-golden-literal notrun unreachable without a 2^64-1-element view; bridge side is abi-golden-wrap (status 32) 143 # contract 173: o = len, k = 0 -> empty part, callee len 0 144 v6-part-empty run seed/qualification/om2/sec/s5s7/v6-part-empty.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/v6-part-empty.out - 0 145 # contract 173: o = len+1, k = 0 -> o <= len fails -> trap 3 146 v6-part-o run seed/qualification/om2/sec/s5s7/v6-part-o.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 147 # contract 175: o evaluated before k: o traps 2 before k traps 5 148 v6-part-order run seed/qualification/om2/sec/s5s7/v6-part-order.om+seed/qualification/om2/sec/s5s7/pr.om - - - 102 149 # contract 175 + erratum E8: part outside a call argument -> 9 150 v6-part-local refuse seed/qualification/om2/sec/s5s7/v6-part-local.om+seed/qualification/om2/sec/s5s7/pr.om 9 151 # contract 176 + OMEGESE 9.4: part of a view is a view; passed to edit -> 20 152 v6-part-view-edit refuse seed/qualification/om2/sec/s5s7/v6-part-view-edit.om+seed/qualification/om2/sec/s5s7/pr.om 20 153 # contract 177-178: two parts of one array in one call -> 19 154 v6-part-two refuse seed/qualification/om2/sec/s5s7/v6-part-two.om+seed/qualification/om2/sec/s5s7/pr.om 19 155 # contract 177-178: an array and a part of it in one call -> 19 156 v6-part-base refuse seed/qualification/om2/sec/s5s7/v6-part-base.om+seed/qualification/om2/sec/s5s7/pr.om 19 157 # erratum E6 Q1: reserved word part declared as a function name in an OM-2 unit -> 16 on the fn line 5; distinct from the pinned om2-line refusal 158 v6-name-part emit seed/qualification/om2/sec/s5s7/v6-name-part.om+seed/qualification/om2/sec/s5s7/pr.om - err:5:16 16 159 160 # contract line 179 (a part lives only for its call) has no observable fixture: no word stores a view (README Q4) 161 # contract 171 + OMEGESE 9.5: write slice check on an unsized view -> trap 3 before the call 162 v6-write run seed/qualification/om2/sec/s5s7/v6-write.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 163 # contract 99-101: three unsized views + one scalar = 7 slots -> 9 164 v6-slots7 refuse seed/qualification/om2/sec/s5s7/v6-slots7.om 9 165 # contract 99-101: three unsized views = 6 slots -> accepted 166 v6-slots6 emit seed/qualification/om2/sec/s5s7/v6-slots6.om any - 0 167 # erratum E2: sized array to an internal unsized parameter in function mode -> accepted 168 v6-fm-e2 emit seed/qualification/om2/sec/s5s7/v6-fm-e2.om any - 0 169 # contract 196 + E1: sized out parameter on an export -> accepted 170 v6-out emit seed/qualification/om2/sec/s5s7/v6-out.om any - 0 171 172 ## Section 6: multi-entry units (contract lines 204-206) 173 # contract 204-205: two exports and a private helper -> accepted 174 m6-export2 emit seed/qualification/om2/sec/s5s7/m6-export2.om any - 0 175 # contract 206: no export, v1 last-fn rule -> accepted 176 m6-noexport emit seed/qualification/om2/sec/s5s7/m6-noexport.om any - 0 177 # contract 182-185, 204, 156: export with layout and unsized view -> accepted 178 m6-export-layout emit seed/qualification/om2/sec/s5s7/m6-export-layout.om any - 0 179 180 ## ABI units compile under the candidate (contract 204-206, E1) 181 abiv-compiles emit seed/qualification/om2/sec/s5s7/abi/abiv.om any - 0 182 abiw-compiles emit seed/qualification/om2/sec/s5s7/abi/abiw.om any - 0 183 184 ## Section 6 ABI v2 boundary (contract lines 180-210, erratum E1). Oracle driver: oracle/s5s7/abi/driver.c 185 # contract 185: unsized ulong view (ptr, len) baseline: status 0, sum 6 186 abi-vsum-ok notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 187 # contract 185: uchar view len 64: status 0, result 64 188 abi-bcnt-ok notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 189 # contract 188: len > 0 with NULL -> status 32, result untouched 190 abi-null-len1 notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 191 # contract 189: ulong view not aligned to 8 -> 32 192 abi-misaligned notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 193 # contract 190: len * 8 overflows 64 bits (len 2^61) -> 32 194 abi-size-overflow notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 195 # contract 191 + coordinator golden: uchar len 2^64-1 -> ptr + len wraps -> 32 196 abi-golden-wrap notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 197 # contract 191: ptr 2^64-8, len 16 wraps -> 32 198 abi-wrap-high notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 199 # contract 194: len 0 with NULL is an empty view -> status 0, result 0 200 abi-null-len0 notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 201 # contract 194: ulong view len 0 NULL -> sum 0 202 abi-null-len0-ulong notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 203 # contract 194: len 0 with any pointer (1) -> empty view 204 abi-bogus-len0 notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 205 # contract 192: edit [0,8) overlaps view [4,12) -> 32, nothing written 206 abi-edit-overlap notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 207 # contract 192-193: half-open adjacent ranges do not overlap -> status 0 208 abi-edit-adjacent notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 209 # contract 193: an empty edit range overlaps nothing -> status 0 210 abi-edit-empty notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 211 # contract 192: edit range overlapping the result buffer -> 32 212 abi-edit-result notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 213 # contract 196-198: out overlapping its input gets memmove semantics (4,3,2,1) 214 abi-out-overlap notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 215 # contract 197-198: nothing written to out (or result) on a trap; status 9 216 abi-out-trap notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 217 # contract 170, 198: trap 3 inside -> status 3, out untouched 218 abi-out-bounds notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 219 # contract 156-158: layout = one pointer; lo little-endian, hi big-endian bytes 220 abi-layout notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 221 # contract 181 (v1 checks kept): NULL layout pointer -> 32 (README A12) 222 abi-layout-null notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 223 # contract 181 (v1 checks kept): NULL result pointer -> 32 224 abi-null-result notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 225 # contract 195: call from a signal handler during a call -> 33 226 abi-reentry notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 227 # contract 207-210: two OM-2 units and one OM-1 unit linked into one binary, called interleaved 228 abi-two-units notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 229 # erratum E1: omega2_ident_abiv() holds sha256(abiv.om), the omc pin, OM-2 (README A11) 230 abi-ident-abiv notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 231 # erratum E1: omega2_ident_abiw() holds sha256(abiw.om), the omc pin, OM-2 232 abi-ident-abiw notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 233 # erratum E1: identities are per unit 234 abi-ident-distinct notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 235 # contract 182-184 + E1: no omega_vsum symbol (nm -D), v1link.c fails to link 236 abi-v1-absent notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 237 # erratum E1: the OM-1 unit abi1 exports omega_madd1 and no omega2_ident_abi1 238 abi-v1-kept notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 239 # contract 209 + E1: units.sh --check after a one-byte change to a unit source refuses (exit 1) 240 abi-units-stale-source notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 241 # contract 209: units.sh --check with a different omc pin refuses 242 abi-units-stale-omc notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 243 # contract 209 + E1: units.sh --check with the profile recorded OM-1 for an OM-2 unit refuses 244 abi-units-stale-profile notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 245 # contract 189 vs 194 conflict: ulong view, len 0, ptr 1 (README Q5); expectation not asserted 246 abi-misaligned-len0 notrun needs the ABI v2 generator (omega-bridge, AbiLane L837) to bind sec/s5s7/abi/*.om; oracle/s5s7/abi/driver.c case 247 248 ## Section 7 SHA consumer semantics (contract lines 212-223, erratum E3). Oracle: oracle/s5s7/sha/sha_driver.c 249 # contract 214: init, final = python sha256("") 250 sha-empty notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 251 # contract 214: abc 252 sha-abc notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 253 # contract 214-215: every two-way split of seq:1000 254 sha-split2 notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 255 # contract 214: length-0 updates between three-way splits 256 sha-split3-zero notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 257 # contract 214-215: one-byte updates 258 sha-bytewise notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 259 # contract 214, 194: update(NULL, 0) 260 sha-update-null0 notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 261 # contract 215 + E3: sha256_hash(buf, 64, buf) 262 sha-hash-overlap0 notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 263 # contract 215 + E3: digest at buf+16 overlapping data 264 sha-hash-overlap16 notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 265 # contract 215 + E3: digest before and overlapping data 266 sha-hash-overlap-before notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 267 # contract 219-222: init, update, final after a final == fresh 268 sha-post-final notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 269 # contract 219-220: update/final without init returns (memory safety only) 270 sha-no-init-safe notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 271 # contract 223: hash(n) == init, update(n), final == python 272 sha-hash-eq-stream notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 273 # erratum E3: byte copy of a context after k updates is equivalent 274 sha-ctx-copy notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 275 # contract 214: one update of 2^32+3 bytes 276 sha-big-1 notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 277 # contract 214: updates of 2^32-1 and 4 bytes 278 sha-big-split notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 279 # contract 214, 223: hash of 2^32+3 bytes 280 sha-big-hash notrun needs the OM-2 SHA unit and its bridge-generated header (ShaLane L838); oracle/s5s7/sha/sha_driver.c case 281 282 # ---- OM-1 controls and twins (C1, contract lines 17-18; expected values from oracle/s5s7) ---- 283 # twin of a5-exact (python oracle values, OM-1 shifts) 284 t-dup run seed/qualification/om2/sec/s5s7/om1/t-dup.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/a5-exact.out - 0 285 # twin of a5-allops 286 t-allops run seed/qualification/om2/sec/s5s7/om1/t-allops.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/a5-allops.out - 0 287 # twin of l5-shactx (byte stores; offsetof oracle image) 288 t-shactx run seed/qualification/om2/sec/s5s7/om1/t-shactx.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/l5-shactx.out - 0 289 # twin of l5-endian 290 t-endian run seed/qualification/om2/sec/s5s7/om1/t-endian.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/l5-endian.out - 0 291 # twin of v6-sum (sized views) 292 t-sum run seed/qualification/om2/sec/s5s7/om1/t-sum.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/v6-sum.out - 0 293 # twin of v6-edit (offset loop) 294 t-edit run seed/qualification/om2/sec/s5s7/om1/t-edit.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/v6-edit.out - 0 295 # twin of v6-part-empty: write slice off = len, n = 0 296 t-sle run seed/qualification/om2/sec/s5s7/om1/t-sle.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/v6-part-empty.out - 0 297 # C1 contract 13-18: OM-2 words stay ordinary names in OM-1 298 t-names run seed/qualification/om2/sec/s5s7/om1/t-names.om+seed/qualification/om2/sec/s5s7/pr.om - file:seed/qualification/om2/oracle/s5s7/exp/t-names.out - 0 299 # twin of v6-part-wrap: OM-1 write slice check, o = 2^64-2, n = 4 -> trap 3 (OMEGESE 9.5) 300 t-slw run seed/qualification/om2/sec/s5s7/om1/t-slw.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 301 # twin of v6-part-tail: off 8, n 4 on len 10 -> trap 3 302 t-slt run seed/qualification/om2/sec/s5s7/om1/t-slt.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 303 # twin of v6-part-o: off 11, n 0 on len 10 -> trap 3 304 t-slo run seed/qualification/om2/sec/s5s7/om1/t-slo.om+seed/qualification/om2/sec/s5s7/pr.om - - - 103 305 # twin of v6-part-order: arguments left to right (OMEGESE 9.2) -> trap 2 first 306 t-order run seed/qualification/om2/sec/s5s7/om1/t-order.om+seed/qualification/om2/sec/s5s7/pr.om - - - 102 307 # trap 10 exit status (OMEGESE 9.8; contract 151) 308 t-trap10 run seed/qualification/om2/sec/s5s7/om1/t-trap10.om+seed/qualification/om2/sec/s5s7/pr.om - - - 110 309 # constant shift 64 is the runtime trap 7 (contract 79-81) 310 t-shl64 run seed/qualification/om2/sec/s5s7/om1/t-shl64.om+seed/qualification/om2/sec/s5s7/pr.om - - - 107 311 # C1 boundary: OMEGESE 9.4, an array parameter without its length is error 16, on the fn line (5) 312 t-unsized16 emit seed/qualification/om2/sec/s5s7/om1/t-unsized16.om - err:5:16 16 313 # erratum E1: the OM-1 ABI unit stays OM-1 and compiles 314 abi1-om1 emit seed/qualification/om2/sec/s5s7/abi/abi1.om any - 0