Skip to content

LINK abend injection: AFCR/AFCS/AFCT at the caller, INQACCCU cases (Part of #6271) - #6400

Merged
squid-protocol merged 1 commit into
mainfrom
churn/6271-20261024T0703Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/6271-20261024T0703Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6271

Checklist: partial [c:b93f4d8b] -- CALL abends and non-file CICS command abends are not planned yet

What

A scenario can now plan an RLS abend (AFCR/AFCS/AFCT) on a LINK ({"cmd":"LINK","program":..,"resp":"ABEND","abcode":..}). The caller's HANDLE ABEND exit takes it and the callee never runs. Stub (GGCLINK), COBOL driver translation, plan builder and the det port's CicsTask.link agree. Register X70 updated.

Class / Sibling gaps

Class: abend injection beyond file commands. Done: file commands (X70), Db2 (X73), LINK (this PR). Not done: CALLed programs; other non-file CICS commands.

Evidence

  • INQACCCU (cbsa-inqacccu): 18/22 paragraphs, 23/33 -> 25/33 branches; three scenarios link-inqcust-abends-afcr/afcs/afct. cbsa-inqacccu-generated: same scenarios added, coverage unchanged at 18/22, 23/33.
  • Both cases PROVED. Re-proved the other LINK cases the forge edit touches: carddemo-copaus1c, cbsa-bnk1cca (+generated), cbsa-bnk1cra, cbsa-bnk1uac, genapp-lgicvs01-linked, carddemo-cardupdate: all PROVED.
  • Gates: pr_gates --fast 7/7, --ratchets 9/9, audit_check clear.
  • det_port.py check: 153 ports' CicsTask.java changes by 4 lines (inert unless an abend is planned on a LINK); only the LINK-using cases were re-proved.

ASSUMED (X70)

The callee's own exit does not absorb the abend; a det port runs the abend at the task's first program level.

Cross-repo

None.

Lessons for agents

  • test_equivalence_cics.py pins LINK translation by index; adding a line after GGCLINK shifts it.
  • A register summary line is JSON-ish: escape inner quotes or gen-docs fails to render.

🤖 Generated with Claude Code

… generated cases (Part of #6271)

A scenario can plan an RLS abend on a LINK; the caller's HANDLE ABEND exit takes it and the callee never runs (stub, det port and COBOL driver agree). Register X70 updated.

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 24, 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 24, 2026 07:26
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 07:29
@squid-protocol
squid-protocol merged commit 75ca368 into main Oct 24, 2026
93 checks passed
@squid-protocol
squid-protocol deleted the churn/6271-20261024T0703Z branch October 24, 2026 08:08
squid-protocol added a commit that referenced this pull request Oct 24, 2026
… struct (Fixes the macOS red in #6430) (#6431)

The mains in test_cics_runtimes.py declare shorter gg_cics typedefs; GGCLINK's unconditional
go_to write (#6400) overran the RETURN IMMEDIATE main's stack struct and crashed on macOS only.
_compiled_stub now swaps in the stub's typedef; a guard test pins it.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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