Commit Graph

1039 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 2c5e3e5833 x86: allow 0x66 & 0x67 prefixes to be put anywhere in front of an instruction 2014-04-28 15:46:52 +08:00
Nguyen Anh Quynh 4f2049b346 allow to set archs to be compiled in from environment variable CAPSTONE_ARCHS 2014-04-28 11:53:19 +08:00
Nguyen Anh Quynh 7751fbe57b header files: Disassembler -> Disassembly 2014-04-28 11:23:14 +08:00
Nguyen Anh Quynh 2cff6f61fc x86: handle instructions with LOCK/REP/REPNE prefix after other prefixes. bear with this until we have a better approach 2014-04-28 11:19:44 +08:00
Nguyen Anh Quynh a88c1164bf move the macro MIN to utils.h 2014-04-27 13:38:04 +08:00
Nguyen Anh Quynh 1b4864ac46 x86: fix comments on MOVcr, MOVdr, MOVrc, MOVrd 2014-04-25 13:44:31 +08:00
Nguyen Anh Quynh e93179b851 x86: BOUND instruction uses dword & qword for boundary array, but not memory reference 2014-04-25 11:18:40 +08:00
Nguyen Anh Quynh 7437a41bfa x86: minor fixes for comments on MOV32cr etc: this is related to 64bit code as well 2014-04-25 10:51:37 +08:00
Nguyen Anh Quynh fe94c2b270 x86: BOUND opcode is reused by EVEX instruction set, so must be handled properly 2014-04-25 10:47:50 +08:00
Nguyen Anh Quynh 96bda4f8b4 x86: MOV32cr & co. work for x64, not only x86. thank Joxean Koret for the help to verify this. 2014-04-24 23:03:26 +08:00
Nguyen Anh Quynh 191c070cac suite: update x86odd.py 2014-04-24 22:50:54 +08:00
Nguyen Anh Quynh 0902bf2a25 x86: handle MOV32cr, MOV32dr, MOV32rc, MOV32rd 2014-04-24 22:46:25 +08:00
Nguyen Anh Quynh 2a9c0e0396 x86: fix a bug when sign-extend immediate for Ev. backport from upstream LLVM 2014-04-23 16:19:15 +08:00
Nguyen Anh Quynh 0eefeb9335 java: add FSTPNCE instruction following the core update 2014-04-23 12:50:20 +08:00
Nguyen Anh Quynh 2ef89c6137 python: add FSTPNCE instruction following the core update 2014-04-23 12:49:48 +08:00
Nguyen Anh Quynh fa697076b1 x86: handle more tricky instructions.
- support undocumented instructions FSTP & FSTPNCE. see http://blogs.technet.com/b/mmpc/archive/2013/06/24/investigation-of-a-new-undocumented-instruction-trick.aspx
- TEST instructions with opcode 0xF6, 0xF7 (MRM1r)
2014-04-23 12:41:16 +08:00
Nguyen Anh Quynh d71106047d suite: add some new instructions to x86odd.py 2014-04-23 12:40:58 +08:00
Nguyen Anh Quynh 4cc304096c suite: add 'hint nop' instruction to x86odd.py 2014-04-22 19:59:20 +08:00
Nguyen Anh Quynh 2ce77133f5 x86: support some tricky instructions
- NOP instructions with encoding 0f {19-1f}. see http://code.google.com/p/corkami/wiki/x86oddities?show=content
- TEST instructions with opcode 0xF6, 0xF7 (MRM1m)
- Fix arithmetic instructions with opcode 0x82: only available in Non64bit mode
2014-04-22 17:49:54 +08:00
Nguyen Anh Quynh 33e16362d6 x86: support 0x82 opcode for Arithmetic instructions 2014-04-20 11:32:00 +08:00
Nguyen Anh Quynh a542efe31b java: add SAL instruction following the core udpate 2014-04-17 09:41:13 +08:00
Nguyen Anh Quynh babb22e009 python: add SAL instruction following the core udpate 2014-04-17 09:40:38 +08:00
Nguyen Anh Quynh 2b2e11b789 python: make cs_disasm_lite() support Python3 2014-04-16 21:20:34 +08:00
Nguyen Anh Quynh 4171e487cb suite: make x86odd support python3 2014-04-16 20:44:10 +08:00
Nguyen Anh Quynh a6519b08eb suite: add x86odd.py 2014-04-16 20:03:55 +08:00
Nguyen Anh Quynh 444d2bd3c3 python: expose cs_disasm_lite() 2014-04-16 20:00:06 +08:00
Nguyen Anh Quynh 6f56ff5663 x86: handle SAL instructions. bug reported by Attila Suszter & Ange Albertini 2014-04-16 17:29:34 +08:00
Nguyen Anh Quynh ac673ae544 make.sh: only handle special pkgconfig install for OSX if we are not installing in Brew env 2014-04-14 23:58:28 +08:00
Nguyen Anh Quynh 1efa9c11a0 SKIPDATA: add info about the first argument of callback function 2014-04-14 21:48:59 +08:00
Nguyen Anh Quynh 2daab25891 python: python3 binding requires python3 installed 2014-04-14 16:34:30 +08:00
Nguyen Anh Quynh e5d30e6980 python: add install3 target for installing Python3 package 2014-04-14 16:33:04 +08:00
Nguyen Anh Quynh b1e14f913d python: optimize to_x() & to_x_32() for python3 2014-04-14 16:21:34 +08:00
Nguyen Anh Quynh 5a46c146b5 python: fix to_x() & to_x_32() in test.py 2014-04-14 16:13:25 +08:00
Nguyen Anh Quynh 4b9de0df04 python: change SKIPDATA's callback prototype after the last change in the core 2014-04-14 14:56:25 +08:00
Nguyen Anh Quynh 42288ac4e3 SKIPDATA: add 1 more argument to callback function pointing to the input buffer of cs_disasm_ex() 2014-04-14 14:53:13 +08:00
Nguyen Anh Quynh de6dd29f36 minor fixes for COMPILE.TXT 2014-04-14 14:40:25 +08:00
Nguyen Anh Quynh a1df77161e Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-04-14 14:31:35 +08:00
Nguyen Anh Quynh 919875bd9f COMPILE.TXT: document uninstall process 2014-04-14 14:00:12 +08:00
Nguyen Anh Quynh 1d03727f22 Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-04-14 13:49:55 +08:00
Nguyen Anh Quynh 360bf1e6ff handle special systems putting x86_64 libs into lib64/ in make.sh, not in Makefile 2014-04-14 13:38:00 +08:00
Nguyen Anh Quynh af0e937d19 make.sh: copy capstone.pc to the right dir for pkgconfig. adapted from patches of Ben Nagy & Pancake 2014-04-12 23:10:46 +08:00
Nguyen Anh Quynh 9b4b377433 Makefile: rename to PKGCFCGDIR to PKGCFGDIR. patch by Pancake 2014-04-12 18:06:54 +08:00
Nguyen Anh Quynh e3606d90a2 Makefile: no more pkgconfig hack 2014-04-12 18:02:55 +08:00
Nguyen Anh Quynh 91af6b235c Merge branch 'python3' into next 2014-04-12 01:15:54 +08:00
Nguyen Anh Quynh 749046bbdc python: initial Python3 support 2014-04-12 01:15:10 +08:00
Nguyen Anh Quynh a247dc187d arm: print address Imm without prefix 0x for Imm >= -9 2014-04-12 00:19:42 +08:00
Nguyen Anh Quynh 943cb2d71b tests: add more example on customizing SKIPDATA mode to test_skipdata.c 2014-04-11 17:12:58 +08:00
fenuks 110ab1debd Python 3 support 2014-04-11 11:00:33 +02:00
Nguyen Anh Quynh 655c7021d2 tests: more C89 fixes 2014-04-11 12:15:33 +08:00
Nguyen Anh Quynh 669e329ec7 python: temprorarily comment out the code removing old package in setup.py & setup_cython.py. this should be moved somewhere later 2014-04-11 11:25:06 +08:00