Commit Graph

271 Commits

Author SHA1 Message Date
397d0de598 tests: simplify print_insn_detail() function by deleting unused argument 2013-12-16 23:37:08 +08:00
42dfccfeb4 update TODO 2013-12-16 22:13:22 +08:00
572afeed7c python: code style: replace tab with 4 spaces 2013-12-16 11:19:24 +08:00
29d138fa2b python: rename some public python classes to follow python naming convention 2013-12-16 10:31:41 +08:00
1d67f0504e add TODO 2013-12-16 09:32:47 +08:00
9a0dbabc23 simplify checking on condition to end the loop in cs_disasm(). issue spotted by Pancake 2013-12-15 22:25:58 +08:00
4626224a33 mips: update doing_mem status, regardless of detail option, since that is also used to avoid printing zero offset in mem reference 2013-12-15 22:05:01 +08:00
3d5930f39e arm: fix some int types and string specifiers 2013-12-15 21:12:19 +08:00
d14d3973f4 coding style for C code 2013-12-15 21:11:17 +08:00
7013f4c53d mips: print negative immediate when it is negative 2013-12-15 18:53:32 +08:00
1f44928d97 mips: fix for micromips 2013-12-15 14:04:59 +08:00
ea8c5af48e arm64: the left-over fix of the last commit 2013-12-15 00:40:29 +08:00
7957ed1def arm64: add some alias registers. attn: bindings 2013-12-15 00:32:20 +08:00
748a70a50b mips: turn off MicroMips by default 2013-12-15 00:16:32 +08:00
46a5afd810 add comment to clarify which information in cs_insn is available when CS_OPT_DETAIL = OFF 2013-12-14 11:52:06 +08:00
4994c587ad bindings: support new 'detail' option for java & python 2013-12-14 11:39:33 +08:00
4d3e852fbb detail option: provide instruction id even when detail option is OFF 2013-12-14 10:45:09 +08:00
a209e67f8a support to turn on/off building instruction details 2013-12-14 00:23:41 +08:00
bed90914e2 x86: calculate op_size properly in special cases regarding rax, eax, ax, al registers 2013-12-13 18:28:38 +08:00
94990c9ef5 x86: print '0' rather than '-0' 2013-12-13 15:56:08 +08:00
be90639c00 x86: properly translate immediate numbers based on their encoding. INT is the exception 2013-12-13 15:37:57 +08:00
4fe4281f0d x86: take care negative immediate (no prefix 0x) when print number greater than -10 2013-12-13 12:26:26 +08:00
a4c16a6fd5 mips: print immediate under 10 without prefix 0x 2013-12-13 12:05:40 +08:00
f22557ba88 x86: print immediate without prefix 0x if the number is under 10 2013-12-13 09:37:52 +08:00
e5c658c407 move PKG_* away from cs.c to CONFIG 2013-12-13 09:24:41 +08:00
70bab7e61d x86: cleaner fix for 16bit instruction with data override 'reverse' 2013-12-13 01:23:49 +08:00
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
1f24586535 arm64: turn off debug output 2013-12-12 16:00:58 +08:00
65c2cb8e13 x86: handle outs instruction in 16bit mode. bug reported by Pancake 2013-12-12 15:58:01 +08:00
a01d1546d6 x86: handle outs instruction in 16bit mode 2013-12-12 15:54:30 +08:00
a8894b2d82 x86: remove debug code 2013-12-12 15:35:51 +08:00
4d85f29e08 x86: properly output insb/insd instruction with the right mode. bug reported by Pancake 2013-12-12 14:56:15 +08:00
86dc393e81 properly handle output string having space as separator 2013-12-12 14:43:39 +08:00
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
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
c961464af3 Merge branch 'const-strings' of https://github.com/radare/capstone into const 2013-12-12 06:11:06 +08:00
b385284a8f arm64: friendly display immediates under 10 without prefix 0x 2013-12-12 05:47:06 +08:00
f0e4eed89d Use const on all read-only buffers 2013-12-11 22:14:42 +01:00
fff0abb629 arm64: clean up 2013-12-11 23:24:08 +08:00
ad89d25d05 mips: optimize Mips_map_register() to O(1). suggested by Pancake 2013-12-11 23:20:34 +08:00
2b4258997f arm64: avoiding duplicate call on AArch64_map_insn() in AArch64_printInst() 2013-12-11 21:57:54 +08:00
66f6c2283e mips: fix NEGU alias instruction. bug reported by Pancake 2013-12-11 21:37:24 +08:00
d051328a20 mips: no need to map BNEZ for alias insn name. bug reported by Pancake 2013-12-11 20:45:52 +08:00
10fd59eacf cleanup & remove dead code in arm, arm64 & mips. dead code was reported by Pancake 2013-12-11 20:37:42 +08:00
778ec163e5 mips: support N64 mode and simplify handling micro-mips 2013-12-11 18:25:56 +08:00
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
9d946516c3 arm64: fix AArch64_getFeatureBits() 2013-12-11 18:00:19 +08:00
a1fbd4aada mips: fix Mips_getFeatureBits() 2013-12-11 17:48:48 +08:00
e105060dd3 Merge branch 'master' of https://github.com/aquynh/capstone 2013-12-11 17:37:39 +08:00
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