-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Missing Operands in ARM Thumb Mode Disassembly with Capstone 5.0.1280 #2280
Comments
Can you please check those instructions against the current |
Maybe related to #2260. @AntoineBlaud please try the |
Hello @udiboy1209 , I suspect the error originates from the Python library bindings. While version 5.0.0 functions correctly, version 5.0.1 triggers the reported error with the same Capstone library version (5.0.1280) |
However, I tried using cstool, but the results completely mismatch the decompilation results provided so far. I tested both ARM and Thumb modes. |
Issue Description:
When disassembling ARM Thumb instructions using Capstone with the
CS_MODE_THUMB
mode enabled, there is a problem where some instructions have missing operands.Observed Behavior:
Some instructions, particularly
ldr
andstr
, when disassembled using Capstone with ARM Thumb mode, have only one operand reported, missing the memory operand information which includes the base register, index register, scale, and displacement.Environment:
Code Snippet:
Output:
Capstone version: 4.0.1024
Capstone version: 5.0.1280
The text was updated successfully, but these errors were encountered: