Skip to content
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

ARM64: Unable to decode luti2 and luti4 instructions #2269

Closed
TIHan opened this issue Feb 10, 2024 · 3 comments · Fixed by #2298
Closed

ARM64: Unable to decode luti2 and luti4 instructions #2269

TIHan opened this issue Feb 10, 2024 · 3 comments · Fixed by #2298
Labels
AArch64 Arch outdated-module Issue due to an outdated arch module
Milestone

Comments

@TIHan
Copy link

TIHan commented Feb 10, 2024

When using cstool, I'm not able to decode ARM64 luti2 and luti4 instructions.

Here are some examples:

Hexcode: 00B02045
Should output: luti2 z0.b, { z0.b }, z0[0]
But cstool fails and stops decoding altogether.

Hexcode: 55B17545
Should output: luti2 z21.b, { z10.b }, z21[1]
But again, cstool fails and stops decoding.

@Rot127
Copy link
Collaborator

Rot127 commented Feb 15, 2024

So after investigating it a little, I couldn't spot the problem immediately. Which means it is likely somewhere in the generated files. Because we will update to LLVM 18 soon anyway, it is better to fix it there IMHO (if it doesn't solve itself anyways). Same for #2268

@TIHan
Copy link
Author

TIHan commented Feb 15, 2024

That makes sense. Thank you for looking at it. Will be looking forward to the LLVM 18 update.

@Rot127 Rot127 added AArch64 Arch outdated-module Issue due to an outdated arch module labels Mar 19, 2024
@Rot127 Rot127 added this to the v6 milestone Mar 19, 2024
@Rot127 Rot127 moved this to Todo in Capstone V6 Plan Mar 20, 2024
@Rot127 Rot127 mentioned this issue Mar 25, 2024
6 tasks
@Rot127
Copy link
Collaborator

Rot127 commented May 11, 2024

It was indeed added in LLVM-18. So this will be closed once #2298 is merged.

@github-project-automation github-project-automation bot moved this from Todo to Done in Capstone V6 Plan Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AArch64 Arch outdated-module Issue due to an outdated arch module
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants