search for: bfromrex

Displaying 2 results from an estimated 2 matches for "bfromrex".

2014 Dec 24
2
[LLVMdev] X86 disassembler is quite broken on handling REX
...mc -disassemble -triple=x86_64 .text <stdin>:1:1: warning: invalid instruction encoding 0x41,0x0f,0xeb,0xc3 ^ the last example should also return "por %mm3, %mm0", but it fails to understand the input. the reason stays with this line in X86DisassemblerDecoder.cpp: rm |= bFromREX(insn->rexPrefix) << 3; we can see that we take into account REX.B, but for "por" (0F EB), this should be ignored. there are quite a lot of other instructions taking into account REX like this, while according to the manual, REX should be ignored. i dont see any clean solution...
2014 Dec 24
2
[LLVMdev] X86 disassembler is quite broken on handling REX
...on encoding >> 0x41,0x0f,0xeb,0xc3 >> ^ >> >> >> the last example should also return "por %mm3, %mm0", but it fails to >> understand the input. >> >> the reason stays with this line in X86DisassemblerDecoder.cpp: >> >> rm |= bFromREX(insn->rexPrefix) << 3; >> >> we can see that we take into account REX.B, but for "por" (0F EB), this >> should be ignored. >> >> there are quite a lot of other instructions taking into account REX like >> this, while according to the manual, RE...