Repository navigation
equivalence: the oracle's PSA/TCB/TIOT -- ggtiot.c and the equivalence_mvs lowering (Part of #5856) - #5887
Merged
Conversation
…e_mvs lowering (Part of #5856) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 21, 2026 16:23
squid-protocol
enabled auto-merge (squash)
October 21, 2026 16:34
Owner
Author
|
No description provided. |
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5856 (slice 2 of 3: the oracle side of register A2). Slice 1 was #5868.
What
GnuCOBOL has no PSA at address 0, and a 4-byte BINARY cannot overlay its 8-byte POINTER, so CardDemo CBSTM03A's PSA -> TCB -> TIOT walk could not run on the oracle. This lays the same three blocks on the oracle side from the same stated step.
tests/equivalence/le/ggtiot.c(new, auto-linked): lays PSA / TCB / TIOT from envGGMVS_STEP, same grammar and refusals asDetMvs.build. Entry pointsGGPSAPTR,GGMVSCHK,GGTIOTADV,GGTIOTSUB. A refusal isGGTIOT: ... is not modelled, exit 98.tests/tools/equivalence_mvs.py(new):lower(program, step)rewrites the idiom (plain POINTER never written -> PSA; eachSET ADDRESS OF rec TO ptrchecked against the block;ptr REDEFINES view POINTER-> standalone POINTER;COMPUTE v = v +/- n,ADD,SUBTRACT-> advance / retreat calls). Every other use of the numeric view, and a missing step, is a named refusal.tests/tools/equivalence.py(+6 lines): callslower, passesGGMVS_STEPfrom the case'smvs_step.docs/language_status/register/A2.md: Oracle paragraph now modelled, with the limit below.tests/cobol_mainframe/test_mvs_oracle_5856.py(new, 21 tests).Class table
DetMvs.buildbyte for byte, or both refuseCOMPUTE v = v +/- n,ADD n TO v,SUBTRACT n FROM v, n signed orLENGTH OF*,n + v, ROUNDED, SIZE ERROR, GIVING, MOVE, IF, DISPLAY, a second REDEFINESLimit:
GGMVSCHKlets a pointer into no laid block through (the C side cannot tell it from another lane's pointer); the det side refuses it.Left (slice 3)
CBSTM03A equivalence case with
mvs_step, the Java-Dgitgalaxy.mvs.stepside in the harness,evidence.py prove.Gates
audit_check,
pr_gates --fast7/7, ruff format (0.17.0) clean; the new tests plustest_tiot_walk_5856,test_det_ceedays,test_source_readspass. No engine change, so no golden bless.Cross-repo
None. Overlaps open PRs #5842 / #5873 only near
equivalence_cics.py/equivalence_ims.py; this touchesequivalence.pyby 6 lines.🤖 Generated with Claude Code