Skip to content

engine: PROCEDURE-POINTER / FUNCTION-POINTER width (Part of #5694) - #5841

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5694-20261021T0753Z
Oct 21, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5694-20261021T0753Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5694. Class: record-layout facts the engine can't hand the translator; this slice is the code-pointer usages.

Checklist: done [c:69ba85fb]
Checklist: partial [c:bdcb5557] -- not worked here (no burned program declares POINTER SYNC)
Checklist: partial [c:10702107] -- not worked here (DFHAID, DFHBMSCA, DFHEIBLK, SQLCA, SQLDA)

Change

  • mainframe_boundary._USAGE_CLAUSE did not match PROCEDURE-POINTER / FUNCTION-POINTER (the lookbehind rejects the POINTER after the hyphen), so the engine stored no usage and no width. Now read.
  • galaxy_ir: both are PIC-less elementary address items (_PICLESS_USAGES, class A), sized in _elementary_bytes / _sync_boundary: z/OS 8 (procedure) / 4 (function), register C9; a caller passing pointer_bytes (the translator, 8) gets both at that width, as det/layout._code_pointers reads them.
  • Test: test_code_pointers_have_a_width_the_engine_can_hand_the_translator (single, after-a-BINARY, OCCURS table; check mode agrees at 8; z/OS default widths).

Class table

Member Status
PROCEDURE-POINTER done (this PR)
FUNCTION-POINTER done (this PR)
SYNC alignment in translator open
System members (DFHAID...) open

Gates

pr_gates --fast 7/7; --ratchets 8/8 (none skipped); crucible_check both legs PASS with no re-bless (golden unchanged); test_det_engine_layout.py 7 pass.
Not run: a det-port of epscsmrd itself (its other holes, e.g. SET ... TO ENTRY, stay by name).

🤖 Generated with Claude Code

…rt of #5694)

The usage clause regex skipped the two code-pointer usages, so the engine had no
usage and no width for them and a record holding one refused in engine/check mode.
Read them, treat them as elementary address items, and size them: z/OS 8 / 4
(register C9), or the caller's POINTER width for the translator's target.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 21, 2026 08:11
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 08:15
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 21, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 093a99f into main Oct 21, 2026
96 checks passed
@squid-protocol
squid-protocol deleted the churn/5694-20261021T0753Z branch October 21, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant