Commit Graph

253 Commits

Author SHA1 Message Date
Nguyen Anh Quynh bed90914e2 x86: calculate op_size properly in special cases regarding rax, eax, ax, al registers 2013-12-13 18:28:38 +08:00
Nguyen Anh Quynh 94990c9ef5 x86: print '0' rather than '-0' 2013-12-13 15:56:08 +08:00
Nguyen Anh Quynh be90639c00 x86: properly translate immediate numbers based on their encoding. INT is the exception 2013-12-13 15:37:57 +08:00
Nguyen Anh Quynh 4fe4281f0d x86: take care negative immediate (no prefix 0x) when print number greater than -10 2013-12-13 12:26:26 +08:00
Nguyen Anh Quynh a4c16a6fd5 mips: print immediate under 10 without prefix 0x 2013-12-13 12:05:40 +08:00
Nguyen Anh Quynh f22557ba88 x86: print immediate without prefix 0x if the number is under 10 2013-12-13 09:37:52 +08:00
Nguyen Anh Quynh e5c658c407 move PKG_* away from cs.c to CONFIG 2013-12-13 09:24:41 +08:00
Nguyen Anh Quynh 70bab7e61d x86: cleaner fix for 16bit instruction with data override 'reverse' 2013-12-13 01:23:49 +08:00
Nguyen Anh Quynh 04da0090a7 x86: quick hack to fix 16bit issue with data override 'reverse'. this might fix bunch of bugs reported by Joxean & Pancake 2013-12-13 01:11:48 +08:00
Nguyen Anh Quynh 1f24586535 arm64: turn off debug output 2013-12-12 16:00:58 +08:00
Nguyen Anh Quynh 65c2cb8e13 x86: handle outs instruction in 16bit mode. bug reported by Pancake 2013-12-12 15:58:01 +08:00
Nguyen Anh Quynh a01d1546d6 x86: handle outs instruction in 16bit mode 2013-12-12 15:54:30 +08:00
Nguyen Anh Quynh a8894b2d82 x86: remove debug code 2013-12-12 15:35:51 +08:00
Nguyen Anh Quynh 4d85f29e08 x86: properly output insb/insd instruction with the right mode. bug reported by Pancake 2013-12-12 14:56:15 +08:00
Nguyen Anh Quynh 86dc393e81 properly handle output string having space as separator 2013-12-12 14:43:39 +08:00
Nguyen Anh Quynh defb9bcf2f more flexible on extracting insn menemonic, as sometimes space can be used as separator, not only tab 2013-12-12 14:00:12 +08:00
Nguyen Anh Quynh 9fa7a6e326 x86: dirty fix for relative call for 16bit mode. need to be properly fixed in future. bug reported by Joxean and Pancake 2013-12-12 11:02:50 +08:00
Nguyen Anh Quynh c961464af3 Merge branch 'const-strings' of https://github.com/radare/capstone into const 2013-12-12 06:11:06 +08:00
Nguyen Anh Quynh b385284a8f arm64: friendly display immediates under 10 without prefix 0x 2013-12-12 05:47:06 +08:00
pancake f0e4eed89d Use const on all read-only buffers 2013-12-11 22:14:42 +01:00
Nguyen Anh Quynh fff0abb629 arm64: clean up 2013-12-11 23:24:08 +08:00
Nguyen Anh Quynh ad89d25d05 mips: optimize Mips_map_register() to O(1). suggested by Pancake 2013-12-11 23:20:34 +08:00
Nguyen Anh Quynh 2b4258997f arm64: avoiding duplicate call on AArch64_map_insn() in AArch64_printInst() 2013-12-11 21:57:54 +08:00
Nguyen Anh Quynh 66f6c2283e mips: fix NEGU alias instruction. bug reported by Pancake 2013-12-11 21:37:24 +08:00
Nguyen Anh Quynh d051328a20 mips: no need to map BNEZ for alias insn name. bug reported by Pancake 2013-12-11 20:45:52 +08:00
Nguyen Anh Quynh 10fd59eacf cleanup & remove dead code in arm, arm64 & mips. dead code was reported by Pancake 2013-12-11 20:37:42 +08:00
Nguyen Anh Quynh 778ec163e5 mips: support N64 mode and simplify handling micro-mips 2013-12-11 18:25:56 +08:00
Nguyen Anh Quynh 2215895ebc mips: no need cs_struct.micro_mips, as we can get that from cs_struct.mode 2013-12-11 18:11:49 +08:00
Nguyen Anh Quynh 9d946516c3 arm64: fix AArch64_getFeatureBits() 2013-12-11 18:00:19 +08:00
Nguyen Anh Quynh a1fbd4aada mips: fix Mips_getFeatureBits() 2013-12-11 17:48:48 +08:00
Nguyen Anh Quynh e105060dd3 Merge branch 'master' of https://github.com/aquynh/capstone 2013-12-11 17:37:39 +08:00
Nguyen Anh Quynh 462f291b9f ARM: Fix bunch of issues
- Bugs
- start switching to more friendly asm: for number under 10, print without hex in front
2013-12-11 17:35:27 +08:00
Nguyen Anh Quynh ff771f6c84 arm: fix a typo in calling DecodeT2CPSInstruction() 2013-12-11 16:39:37 +08:00
Nguyen Anh Quynh 8940e5c5d0 java: return empty array when op_count = 0, rather than NULL. this is to be consistent with all other bindings 2013-12-10 14:44:45 +08:00
Nguyen Anh Quynh aa036eebc2 bindings: add cs_version() back for python & java 2013-12-10 13:42:48 +08:00
Nguyen Anh Quynh 36df4bb6a7 revert the cs_version() API 2013-12-10 13:31:20 +08:00
Nguyen Anh Quynh 723fa80890 arm: some hardware features must be mutually exclusive 2013-12-10 12:13:05 +08:00
Nguyen Anh Quynh 67fd143a8b python: remove useless __init__.py 2013-12-10 08:07:18 +08:00
Nguyen Anh Quynh 98bc9c3932 bindings: update java & python follow last API change 2013-12-10 08:06:56 +08:00
Nguyen Anh Quynh bb64b0bdca more API version to capstone.h, and remove cs_version(). reset API back to 1.0 for public release 2013-12-10 07:56:17 +08:00
Nguyen Anh Quynh 37c7d77e76 x86: print mem pointer reference in lowercase 2013-12-10 00:33:37 +08:00
Nguyen Anh Quynh b2dc054a5f BSD platforms are supported 2013-12-09 16:05:49 +08:00
Nguyen Anh Quynh f74bebf53f update COMPILE & README for FreeBSD support 2013-12-09 13:53:11 +08:00
Nguyen Anh Quynh 5ee165be08 Merge branch 'master' of https://github.com/aquynh/capstone 2013-12-09 11:13:34 +08:00
Nguyen Anh Quynh 0427122ced add information on static lib installation into COMPILE 2013-12-09 11:12:47 +08:00
Nguyen Anh Quynh a253c7a8e8 x86: map EFLAGS to string of 'flags', 'eflags' or 'rflags' depending on current CS_MODE 2013-12-09 10:26:18 +08:00
Nguyen Anh Quynh bdaf3b5089 x86: delete useless constant values assigned for instructions in x86.h 2013-12-09 00:55:49 +08:00
Nguyen Anh Quynh 80ff30b977 Makefile: use PKGCFGF for capstone.pc 2013-12-09 00:38:44 +08:00
Nguyen Anh Quynh 858546992f Merge branch 'master' of https://github.com/radare/capstone into radare 2013-12-09 00:29:09 +08:00
Nguyen Anh Quynh f5d9892f41 x86: return lowercase string for instrution name 2013-12-08 23:36:06 +08:00