Update capstone-next and support Alpha instruction ID variants#6621
Open
b1llow wants to merge 3 commits into
Open
Update capstone-next and support Alpha instruction ID variants#6621b1llow wants to merge 3 commits into
b1llow wants to merge 3 commits into
Conversation
Co-authored-by agent: Codex/GPT-5
Co-authored-by agent: Codex/GPT-5
Co-authored-by agent: Codex/GPT-5
88f40aa to
2715a63
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files
... and 12 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
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.
Your checklist for this pull request
RZ_APIfunction and struct this PR changes.RZ_API).Detailed description
This PR updates the bundled
capstone-nextrevision from3df6ff015fb6afd81307e325fdd9c82dbf184b28toae11e4232cb1f0df4847bf2d66825b9f1cb119a2.The newer Capstone revision uses uppercase Alpha instruction identifiers such
as
ALPHA_INS_*, while older revisions exposeAlpha_INS_*. A Meson featureprobe now detects which variant is available, and the Alpha analysis plugin
uses the
RZ_ALPHA_INS()compatibility macro to support both forms.The affected test expectations are also updated:
fmovemencodings now rejected by Capstone..lsuffix for longftrapinstructions.This PR does not change any
RZ_APIinterfaces and does not require a Rizinbook update.
OpenAI Codex with the GPT-5 model was used to help implement, review, split,
and validate these changes. The resulting changes were manually reviewed and
tested.