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] LOCK NOP not decoded (F0 0F 1F 00) #915
Comments
|
Any other disassembler can handle this code, besides Gas? |
|
NASM: It's just the LOCK prefix. Capstone disassembles the NOP |
|
fixed now, please confirm. |
|
Yes, now decodes. Thank you |
|
Zyan doesn't accept this anymore (there's a Jul 3 commit about illegal lock prefixes). $ ./ZydisInfo -64 F0 0F 1F 00 Is this instruction really valid? I'm not sure per Intel manuals. Also from XED: |
|
the only way to confirm this is to run it on real cpu, to see it really
works.
--
Thanks,
Quynh
http://www.keystone-engine.org
http://www.capstone-engine.org
http://www.unicorn-engine.org
|
|
Yes, it's an illegal instruction per Intel manuals and verified on a real cpu. |
The byte sequence "F0 0F 1F 00" disassembles to "lock nopl (%rax)" with GNU Binutils 2.26.1 and Online Disassembler [1] but is undecoded by Capstone "next" branch. It is emitted by LLVM for alignment.
[1] https://www.onlinedisassembler.com/odaweb/mkfPEHoP/0
The text was updated successfully, but these errors were encountered: