Nguyen Anh Quynh
|
ea3c089591
|
some simple optimizations for speed. this improves performance about 5%
|
2014-10-02 10:17:55 +08:00 |
|
Nguyen Anh Quynh
|
16f330c37a
|
cs_disasm(): properly resize the cache when count in range [2, INSN_CACHE_SIZE]
|
2014-10-02 10:09:59 +08:00 |
|
Nguyen Anh Quynh
|
a92d2cba1d
|
x86: properly calculate absolute addresses of relative CALL & JMP. thanks Pedro for valuable helps
|
2014-10-01 22:10:22 +08:00 |
|
Nguyen Anh Quynh
|
df92a7f346
|
mips: BC0F is relative branch instruction. bug reported by Pancake
|
2014-10-01 21:25:18 +08:00 |
|
Nguyen Anh Quynh
|
48eb13c33c
|
ppc: add detail for alias instructions introduced in the latest change by @kratolp
|
2014-10-01 21:18:55 +08:00 |
|
Nguyen Anh Quynh
|
6b731a097f
|
fix conflicts when merging
|
2014-10-01 21:05:51 +08:00 |
|
Nguyen Anh Quynh
|
630bcd6d4e
|
ppc: c99
|
2014-10-01 21:02:30 +08:00 |
|
Nguyen Anh Quynh
|
70fa90fbfe
|
ppc: coding style
|
2014-10-01 18:21:02 +08:00 |
|
Nguyen Anh Quynh
|
147035ed62
|
suite: chmod +x ppcbranch.py
|
2014-10-01 18:17:37 +08:00 |
|
kratolp
|
73835104a4
|
Merge branch 'next' of https://github.com/aquynh/capstone into next
Conflicts:
arch/PowerPC/PPCInstPrinter.c
|
2014-10-01 11:54:14 +02:00 |
|
kratolp
|
a3f0aef79a
|
PPC: Fix absolute/relative offset for branch instruction
PPC: Fix non handling of bc instruction that uses the CTR
|
2014-10-01 11:39:15 +02:00 |
|
Nguyen Anh Quynh
|
a3f87a54d9
|
java: add 'check' target to Makefile
|
2014-10-01 17:13:58 +08:00 |
|
Nguyen Anh Quynh
|
984d45068c
|
Makefile: add 'check' target
|
2014-10-01 16:42:29 +08:00 |
|
Nguyen Anh Quynh
|
711fd8e3ed
|
update RELEASE_NOTES
|
2014-10-01 15:07:06 +08:00 |
|
Nguyen Anh Quynh
|
a2c5e4c7ef
|
TODO: Ocaml binding is working now (though still incomplete)
|
2014-10-01 15:04:41 +08:00 |
|
Nguyen Anh Quynh
|
c96f1b06b2
|
x86: fix Out-of-bounds read error in is16BitEquivalent(). issue reported by Coverity
|
2014-10-01 14:35:29 +08:00 |
|
Nguyen Anh Quynh
|
9bf1b87a66
|
mips: fix out-of-bounds read error in Mips_reg_name(). issue reported by Coverity
|
2014-10-01 14:32:15 +08:00 |
|
Nguyen Anh Quynh
|
e135056f17
|
fix a negative array index read in PPC_alias_insn(). issue reported by Coverity
|
2014-10-01 14:23:35 +08:00 |
|
Nguyen Anh Quynh
|
9d54544288
|
mips: verify if RegDecoder can get NULL value. issue reported by Coverity
|
2014-10-01 14:16:07 +08:00 |
|
Nguyen Anh Quynh
|
7e644f0fea
|
ppc: initialize needComma to false. issue reported by Coverity
|
2014-10-01 14:13:48 +08:00 |
|
Nguyen Anh Quynh
|
839890b83a
|
tests: use cs_group_name() to print out group names in test_detail.c & test_detail.py
|
2014-10-01 10:51:18 +08:00 |
|
Nguyen Anh Quynh
|
523ca99087
|
cs_disasm(): make sure cache_size is smaller than INSN_CACHE_SIZE to avoid integer overflow in malloc()
|
2014-10-01 10:46:37 +08:00 |
|
Nguyen Anh Quynh
|
50eeba2a86
|
avoid setting instruction cache size to @count when Capstone uses user-customized memory management, which might fail in resource scarce env such as kernel
|
2014-09-30 13:28:02 +08:00 |
|
Nguyen Anh Quynh
|
ac98ca0129
|
set buffer size for instruction cache in cs_disasm() to @count if @count > 0. this avoids realloc() in cases where @count is pre-determined. thanks Dang Hoang Vu for the idea
|
2014-09-30 13:17:36 +08:00 |
|
Nguyen Anh Quynh
|
39eb84a9b1
|
merge v3
|
2014-09-30 07:45:37 +08:00 |
|
Nguyen Anh Quynh
|
9235fdc504
|
arm: The Thumb2 ldrexd and strexd instructions are not defined for M-class architectures
|
2014-09-30 07:44:50 +08:00 |
|
Nguyen Anh Quynh
|
187a1aead9
|
Merge pull request #187 from danghvu/v3
Cython: update installation and tests to v3
|
2014-09-30 07:05:29 +08:00 |
|
danghvu
|
ebeec9d9c2
|
Cython: update installation and tests to v3
|
2014-09-29 11:55:01 -05:00 |
|
Nguyen Anh Quynh
|
6756eddee5
|
ppc: alias instructions handled by printAliasInstrEx() miss CR* registers in detail mode. fixed
|
2014-09-29 23:32:14 +08:00 |
|
Nguyen Anh Quynh
|
ca44c4897d
|
ppc: coding style for PPCInstPrinter.c
|
2014-09-29 17:58:20 +08:00 |
|
Nguyen Anh Quynh
|
27767e8c08
|
merge PR of @kratolp
|
2014-09-29 17:54:05 +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 |
|
kratolp
|
39a65299bd
|
Add ppc branch test suite
|
2014-09-29 10:59:42 +02:00 |
|
kratolp
|
f0221a2aeb
|
* Fix pcc branch offset in a better way
* Update PPC branch alias function to print cri register
* Fix immediate branch offset sign extension for bd type branch instruction
|
2014-09-29 10:59:12 +02:00 |
|
Nguyen Anh Quynh
|
0b702b892d
|
suite: add input files for systematic testing assembly instructions across all archs (MC)
|
2014-09-29 15:28:34 +08:00 |
|
Nguyen Anh Quynh
|
e4d1f4d05c
|
Merge pull request #185 from danghvu/v3
Java binding: fix missing dependency
|
2014-09-29 07:03:19 +08:00 |
|
danghvu
|
3671d70429
|
Java binding: fix missing dependency
|
2014-09-28 16:20:15 -05:00 |
|
Nguyen Anh Quynh
|
ed7e43dc08
|
Merge branch 'v3' of https://github.com/aquynh/capstone into v3
|
2014-09-28 23:56:40 +08:00 |
|
Nguyen Anh Quynh
|
82354b60ba
|
ocaml: rename cs_disasm() back to cs_disasm_quick(), which rightly reflects its nature
|
2014-09-28 23:56:02 +08:00 |
|
Nguyen Anh Quynh
|
b69cb94bcd
|
Merge pull request #184 from danghvu/v3
Fix binding tests and update Java binding to v3
|
2014-09-28 08:58:21 +08:00 |
|
danghvu
|
2412069453
|
Fix python binding tests
|
2014-09-27 17:59:42 -05:00 |
|
danghvu
|
ef92cdb918
|
Update java binding to v3
|
2014-09-27 17:53:49 -05:00 |
|
danghvu
|
53bbee32f9
|
Fix java binding tests
|
2014-09-27 16:09:44 -05:00 |
|
Nguyen Anh Quynh
|
6dc1dd5ae0
|
ocaml: remove fields regs_read_count, regs_write_count, groups_count, as they can be derived from the lengths of related arrays
|
2014-09-27 00:40:34 +08:00 |
|
Nguyen Anh Quynh
|
bf23075e32
|
ocaml: activate test_xcore.ml's non-class test
|
2014-09-26 23:57:08 +08:00 |
|
Nguyen Anh Quynh
|
c7fa8fa6fc
|
Merge branch 'v3' of https://github.com/aquynh/capstone into v3
|
2014-09-26 23:48:17 +08:00 |
|
Nguyen Anh Quynh
|
81a97c6c5c
|
ocaml: ocaml.c is wrongly implemented in various places. this fixes all the issues, and all test_<arch> works as expected now
|
2014-09-26 23:38:53 +08:00 |
|
Nguyen Anh Quynh
|
3f9247d6a5
|
java: add interface for cs_group_name() API
|
2014-09-26 11:27:29 +08:00 |
|
Nguyen Anh Quynh
|
770cf6dfd7
|
cython: update to v3. still need more tests
|
2014-09-26 11:25:03 +08:00 |
|
Nguyen Anh Quynh
|
d442fbc06e
|
arm: t2BXJ also belongs to groups ARM_GRP_NOTMCLASS & ARM_GRP_PREV8
|
2014-09-26 10:38:29 +08:00 |
|