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

[X86] Disassembly Error, failed to decode prefetch instruction #2566

Open
Mar3yZhang opened this issue Dec 3, 2024 · 0 comments
Open

[X86] Disassembly Error, failed to decode prefetch instruction #2566

Mar3yZhang opened this issue Dec 3, 2024 · 0 comments
Labels
outdated-module Issue due to an outdated arch module X86 Arch

Comments

@Mar3yZhang
Copy link

Mar3yZhang commented Dec 3, 2024

Work environment

Questions Answers
OS/arch/bits x86_64 Ubuntu 20.04
Architecture x86_64
Source of Capstone git clone, default on next branch.
Version/git commit v6.0.0, d7be5f9

Instruction bytes giving faulty results

0x4a 0x0f 0x0d 0x28

Expected results

It should be:

prefetch [rax]

Steps to get the wrong result

With cstool:

$ ./cstool -d x64 "4a0f0d28"
ERROR: invalid assembly code

Additional Logs, screenshots, source code, configuration dump, ...

  • Other x86 instruction decoders like Zydis and XED have no trouble with it.
  • This issue is detected with a fully automatic decoder testing tool based on my research. Please add a Bug tag to this page if you verify it's a problem. It means a lot to me and my research. Thank you for your consideration😊!
@Rot127 Rot127 added X86 Arch outdated-module Issue due to an outdated arch module labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
outdated-module Issue due to an outdated arch module X86 Arch
Projects
None yet
Development

No branches or pull requests

2 participants