-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[broken, don't merge] correct register access attributes of Arm's LDM instruction #1987
Conversation
Please don't merge, this PR introduces a bug when I will update this PR soon. |
We refactor the complete ARM module to make it easier to update with new LLVM releases. The access information of operands are now generated (see Please be so kind and fix this directly on the branch of #1949. Otherwise this fix will be gone directly after #1949. Let me know if you wish any more details how this could be implemented. |
I recommend to checkout the comment of |
@Rot127 Thank you so much for the information. Unfortunately I do not have the time to look into those at the moment. I am using Capstone for my thesis project, and noticed and fixed this bug. I can spare a few minutes to open this PR, but I cannot commit more than that. If anyone would like to fix the bug being addressed by this PR, you are very welcome to do so. Otherwise, I will come back in a few months once my thesis is completed. Thanks! |
This bug exists because Capstone does not use |
That is really nice to hear then. Could you please provide me with two |
Sure, can you try these? Encoding is Thumb, little endian. Thanks! |
Unfortunately the correct write attributes can't be fixed currently. You need to do it by hand (after #1949 is merged). I'll provide a patch file after it is done and track it in an issue. |
Arm's LDM first register is only written when writeback is true. Otherwise, it is read-only.