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

x64 disassembler big endian bug #2339

Open
trufae opened this issue Apr 26, 2024 · 0 comments
Open

x64 disassembler big endian bug #2339

trufae opened this issue Apr 26, 2024 · 0 comments
Labels
Milestone

Comments

@trufae
Copy link
Contributor

trufae commented Apr 26, 2024

When using capstone5 on a big endian machine i get different output for some instructions:

./cstool x64 8b3482
 0  8b 34 82                                         mov	esi, dword ptr [rdx + rax*0]

on little endian i get the correct output:

$ ./cstool x64 8b3482
 0  8b 34 82                                         mov	esi, dword ptr [rdx + rax*4]

i have verified the same bug happens on next and v5 branches

@trufae trufae changed the title v5: x64 disassembler big endian bug x64 disassembler big endian bug Apr 26, 2024
@Rot127 Rot127 added bug X86 Arch labels Apr 26, 2024
@Rot127 Rot127 added this to the v5.0.2 milestone Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants