Repository navigation
Conversation
…l whose narrower result is returned
phix33
force-pushed
the
fix/forwarded-parameter-width-assertion
branch
from
December 5, 2026 03:57
40f383d to
3c421cf
Compare
This branch has not been deployed
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.
On AArch64 a pointer that a function only hands on to a tail call prints as
unsigned intwhen the callee returns 32 bits, and no 8-byte type can be asserted for it.enabledismov w2,w1; mov w1,#1; b flag_of, sox0reachesflag_ofuntouched. With this change the command exits 0 and printsvoid enabled(node *a0,unsigned int a1); thevoidis the existing loss of a tail-call result under an asserted parameter, as main prints around an 8-byte callee.Fix
passthroughreads the callee's return register at each RETURN, at the callee's width. Here that isw0, the only mention ofx0, so the call's argument trial was four bytes wide.Tests
kuna-passthrough-narrowret.xmloverfwdwidth_a64.soandfwdwidth_arm.so(GCC, source above and variants): 17 assertions, 5 failing on main. Three CLI probes cover the strict assertion and two single-function cases.Model:
anthropic/claude-mythos-5-2