Commit Graph

41 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
9d946516c3 arm64: fix AArch64_getFeatureBits() 2013-12-11 18:00:19 +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
6677b994e7 arm: fix a wrong calculation on sign of .disp value in mem reference 2013-12-08 22:20:35 +08:00
Nguyen Anh Quynh
9f523d1699 mips: properly map alias instruction back to public id. this fixes the crash reported by Pancake 2013-12-06 13:49:23 +08:00
Nguyen Anh Quynh
b4ce38355a x86: map xstorerng alias instruction back to xstore. bug reported by Nicolas Ruff 2013-12-06 08:06:21 +08:00
Nguyen Anh Quynh
8f13f3c6ab rename @hex_code to @bytes, and move it to next to @size 2013-12-04 22:57:04 +08:00
Nguyen Anh Quynh
c45b1588ef Merge branch 'master' of https://github.com/joxeankoret/capstone into hexcode 2013-12-04 19:28:54 +08:00
Nguyen Anh Quynh
641b78375f x86: fix relative call. bug reported by Joxean Koret 2013-12-04 16:56:40 +08:00
Joxean
367a4df66f Partially reverted previous commit
I added mistakenly various local-only changes.
2013-12-04 07:15:45 +01:00
Joxean
114df0ef2a Added @hex_code member
It's used to retrieve the bytes of the instruction.
2013-12-04 07:11:32 +01:00
Nguyen Anh Quynh
c618db4473 change option names for cs_option(), and update python binding accordingly to support new cs_option() 2013-12-04 00:05:04 +08:00
Nguyen Anh Quynh
b8ce68ec05 change cs_option() API to be more flexible with option value 2013-12-03 23:45:08 +08:00
Nguyen Anh Quynh
01aba002e3 add cs_option() API. move ATT & Intel syntax here, rather than having them as CS_MODE, which is wrong 2013-12-03 21:00:09 +08:00
Nguyen Anh Quynh
6d552e5540 x86: fix bug in relative jump. reported by Joxean 2013-12-03 18:23:53 +08:00
Nguyen Anh Quynh
5df9e4be91 tests: change variable address's type to uint64_t 2013-12-03 15:02:12 +08:00
Nguyen Anh Quynh
7b7b40c879 tests: now @address is uint64_t, no need to typecast for PRIx64 anymore 2013-12-03 12:24:06 +08:00
Nguyen Anh Quynh
f35e2ad35c add @regs_read_count, @regs_write_count, @groups_count to @cs_insn. bump API to 1.4 2013-12-03 11:10:26 +08:00
Nguyen Anh Quynh
d57fa4f68e x86: added bunch of test insn (commented) 2013-12-03 00:45:39 +08:00
Nguyen Anh Quynh
9c950c15d6 x86: fix all the shift rotate insns with 1 as immediate: shl, shr, sar, ror, rol. thus, removed the hack on this insns. 2013-12-02 23:20:07 +08:00
Nguyen Anh Quynh
8fcec67893 x86: do not sign-extend immediate. this fixes the issues reported by LongLD 2013-12-02 22:03:30 +08:00
Nguyen Anh Quynh
b9b3d29ff5 x86: print segment register in some insns with memory references. This fixes the bug reported by Edgar & Attila 2013-12-02 16:21:55 +08:00
Nguyen Anh Quynh
ec0ed8ee94 semantics: add insn group JUMP, so now we can check if this insn is branching 2013-12-02 13:55:38 +08:00
Nguyen Anh Quynh
7c7a8bc523 arm: move static variable ITBlock to cs_struct, so make arm code truly thread-safe 2013-12-02 13:16:44 +08:00
Nguyen Anh Quynh
f1c2eee091 x86: clang still complains on unused enum type. this shuts it up 2013-12-02 12:29:07 +08:00
Nguyen Anh Quynh
0e3defb6f8 arm64: remove asprintf.c and use static buffer instead for SysRegMapper_toString(). this fixes the bug on MSR insn reported by Patroklos Argyroudis 2013-12-02 10:30:01 +08:00
Nguyen Anh Quynh
524194acfb test: add few (commented out) arm instructions to test_arm.c 2013-12-01 23:23:37 +08:00
Nguyen Anh Quynh
bc38a28761 test: add some more insn to test_arm.c (commented out code) 2013-12-01 23:14:17 +08:00
Nguyen Anh Quynh
173ed2b1cb arm: upgrade core engine 2013-12-01 22:19:27 +08:00
Nguyen Anh Quynh
cc6cf65980 tests: add some test insn (commented) 2013-12-01 09:01:52 +08:00
Nguyen Anh Quynh
ad61c49288 arm64: handle decomposer properly for alias insn 2013-11-30 16:23:31 +08:00
Nguyen Anh Quynh
6b7abe3c81 arm64: handle alias insn in a better way, and add support for MNEG. bug reported by Patroklos Argyroudis 2013-11-30 00:54:24 +08:00
Nguyen Anh Quynh
81d35e6105 Merge branch 'master' of https://github.com/aquynh/capstone 2013-11-29 23:41:53 +08:00
Nguyen Anh Quynh
723687ea0e tests: typecast size_t to uint64_t for printf, since MingW doesnt support zu specifier 2013-11-29 22:36:45 +08:00
Daniel Godas-Lopez
9286504347 now the clean target deletes all binaries from all targets 2013-11-29 12:56:13 +00:00
Nguyen Anh Quynh
90acea3530 fix arm64_op_mem & arm64_op_type structures: int32_t is enough for imm & disp 2013-11-29 17:54:17 +08:00
Nguyen Anh Quynh
b42a657873 change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API 2013-11-29 17:40:07 +08:00
Daniel Godas-Lopez
0f7c4325dd unified the targets for *nix and windows 2013-11-29 10:09:37 +08:00
danghvu
2e19d93db8 More generic name for *nix target 2013-11-28 03:06:31 -06:00
danghvu
a0f93bd4ca Shorten tests/Makefile 2013-11-28 02:46:15 -06:00
pancake
ad3cbaf5d4 Use proper Makefile targets in tests 2013-11-28 14:15:55 +08:00
Nguyen Anh Quynh
26ee41aa67 initial import 2013-11-27 12:11:31 +08:00