Scripts: recognize explicit zero offsets in record headers #2726
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2736"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T09:15:28Z.
The immediate record-header matcher missed stores printed with an explicit zero displacement. For the same record writer,
(%rax)reported the header and0x0(%rax)reported?.What is in it
0x0displacement on the cursor register when identifying an immediate header.Tested
b49be183, both explicit-zero subcases failed. The bare and nonzero cases passed.python -B -m unittest discover -s scripts -p 'test_*.py'passed all 25 tests.git diff --checkpassed.Regression run
Script and test changes only.
Not tested
AI use
OpenAI Codex (GPT-6) reproduced the issue, wrote the change and regression test, and ran the Python checks.
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T09:16:01Z.
Closing this draft in favor of #1694. Independent review of the older PR's diff found that it already accepts explicit
Pull request closed