From: Michael <ma...@gm...> - 2015-10-15 04:25:04
|
Hi, I just got Capstone today and wanted to try it out. It works fine (VS2013, Windows 7 x64) but then I wanted to test whether the length of instructions was correct. So I tried this code: http://ideone.com/tPzk26 And the output was: http://puu.sh/kKNjX/caebd34832.png Where the left hand side shows the size of the instructions. The first two instructions are correct but the third instruction is wrong. It's supposed to be 5 bytes in length. Proof: http://puu.sh/kKNmk/de31ae4a0c.png And Visual Studio's compiler thought it was 5 bytes too. Am I doing something wrong or is there an issue here? Thanks, Maktm |