Skip to content

Auto-Sync update Sparc LLVM-18 #2704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 63 commits into from
Jun 24, 2025
Merged

Auto-Sync update Sparc LLVM-18 #2704

merged 63 commits into from
Jun 24, 2025

Conversation

Rot127
Copy link
Collaborator

@Rot127 Rot127 commented May 20, 2025

Your checklist for this pull request

  • I've documented or updated the documentation of every API function and struct this PR changes.
  • I've added tests that prove my fix is effective or that my feature works (if possible)

Detailed description

Refactors the Sparc module to and Auto-Sync one. This is equivalent to LLVM-18 (with some fixes).

Test plan

Added

Closing issues

closes #1058
closes #1322
closes #1450
closes #1451
closes #1461
closes #1699

@Rot127 Rot127 changed the title As sparc Auto-Sync update Sparc LLVM-18 May 20, 2025
@Rot127 Rot127 force-pushed the as-sparc branch 2 times, most recently from e5bee1d to 7759bbe Compare May 26, 2025 18:53
@Rot127 Rot127 force-pushed the as-sparc branch 2 times, most recently from 1b935bf to 09cde1d Compare May 27, 2025 13:15
Rot127 added 2 commits May 27, 2025 08:28
The CC field used was sometimes stored as register,
sometimes as not at all.
Now it is consistently stored in a separated field.
Also fixes bugs with wrong cc fields, or missing fields.
@Rot127 Rot127 marked this pull request as draft June 10, 2025 12:27
@Rot127 Rot127 marked this pull request as ready for review June 24, 2025 11:37
@Rot127
Copy link
Collaborator Author

Rot127 commented Jun 24, 2025

Open this for review now. I'll uplifted almost all instructions (~35 left) of Sparc in Rizin using this module.
It is not fully tested yet, but I am confident I have found most bugs and fixed them here.
All the others we also fix later.

@Rot127 Rot127 merged commit a07baf8 into capstone-engine:next Jun 24, 2025
22 checks passed
@Rot127 Rot127 deleted the as-sparc branch June 24, 2025 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants