Commit Graph

22 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 22278ec937 mips & xcore: some safety guards to make sure printOperand() do not overflow Operands[] for some unknown reasons 2014-11-17 22:59:24 +08:00
Nguyen Anh Quynh d7e42b7d36 rename all the constants marking ending from _MAX to _ENDING. this also updates Java/Python/Ocaml bindings accordingly 2014-09-29 17:15:25 +08:00
Yegor Derevenets ced9d24e35 Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
Nguyen Anh Quynh 0c07cc9b06 zero-out instruction details, mnemonic & op_str so cs_insn doesnt have garbage in Diet mode 2014-08-27 22:31:54 +08:00
Nguyen Anh Quynh ed1234a892 xcore: update core 2014-08-26 14:11:09 +08:00
Nguyen Anh Quynh 4db4d9bdd7 xcore: fix an warning of unused array when DIET mode is enable 2014-08-13 00:29:51 +08:00
Nguyen Anh Quynh 650f96ce43 add new API cs_group_name() to return group name in string, given the group id 2014-07-08 08:59:27 +08:00
Nguyen Anh Quynh cae09bf543 replace offset_of with offsetof from stddef.h 2014-06-17 14:58:39 +08:00
Nguyen Anh Quynh d06f3d662b xcore: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free 2014-06-16 14:35:08 +08:00
Nguyen Anh Quynh 88fca42a5f xcore: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible 2014-06-16 14:30:19 +08:00
Nguyen Anh Quynh b95647d2c1 systemz & xcore: create details only when detail mode is ON. this fixes some crashes in tests/test 2014-06-09 18:49:37 +07:00
Nguyen Anh Quynh 69582d71ae initialize cs_insn.detail by properly zero-out right members for each arch 2014-06-09 17:50:01 +07:00
Nguyen Anh Quynh 29fd0f6405 fix all the code in other non-X86 archs after the change made by commit 5329a6ffd4 2014-06-09 08:00:18 +07:00
Nguyen Anh Quynh d0023197eb cmake: support Sparc, SystemZ & XCore 2014-05-28 15:15:00 +08:00
Nguyen Anh Quynh 3a5965eb05 xcore: fix some warnings with Diet mode 2014-05-28 15:14:28 +08:00
Nguyen Anh Quynh b2e566ac88 xcore: use strcpy() rather than strncpy() 2014-05-28 11:35:19 +08:00
Nguyen Anh Quynh 2a33afe6e8 msvc: make MSVC shutup on strncpy() 2014-05-28 00:24:33 +08:00
Nguyen Anh Quynh dc1af545c0 msvc: fix warnings 2014-05-28 00:14:22 +08:00
Nguyen Anh Quynh be2b788dc1 xcore: handle details for some special tricky instructions 2014-05-27 23:34:03 +08:00
Nguyen Anh Quynh 04f2ec6d0f cleanup redundant headers included 2014-05-27 10:39:04 +08:00
Nguyen Anh Quynh 553bb488d7 python: support XCore 2014-05-26 23:47:45 +08:00
Nguyen Anh Quynh c80d840ffc add XCore architecture 2014-05-26 23:02:48 +08:00