Nguyen Anh Quynh
|
c96f1b06b2
|
x86: fix Out-of-bounds read error in is16BitEquivalent(). issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
9bf1b87a66
|
mips: fix out-of-bounds read error in Mips_reg_name(). issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
e135056f17
|
fix a negative array index read in PPC_alias_insn(). issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
9d54544288
|
mips: verify if RegDecoder can get NULL value. issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
7e644f0fea
|
ppc: initialize needComma to false. issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
839890b83a
|
tests: use cs_group_name() to print out group names in test_detail.c & test_detail.py
|
10 years ago |
Nguyen Anh Quynh
|
523ca99087
|
cs_disasm(): make sure cache_size is smaller than INSN_CACHE_SIZE to avoid integer overflow in malloc()
|
10 years ago |
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
|
10 years ago |
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
|
10 years ago |
Nguyen Anh Quynh
|
39eb84a9b1
|
merge v3
|
10 years ago |
Nguyen Anh Quynh
|
9235fdc504
|
arm: The Thumb2 ldrexd and strexd instructions are not defined for M-class architectures
|
10 years ago |
Nguyen Anh Quynh
|
187a1aead9
|
Merge pull request #187 from danghvu/v3
Cython: update installation and tests to v3
|
10 years ago |
danghvu
|
ebeec9d9c2
|
Cython: update installation and tests to v3
|
10 years ago |
Nguyen Anh Quynh
|
6756eddee5
|
ppc: alias instructions handled by printAliasInstrEx() miss CR* registers in detail mode. fixed
|
10 years ago |
Nguyen Anh Quynh
|
ca44c4897d
|
ppc: coding style for PPCInstPrinter.c
|
10 years ago |
Nguyen Anh Quynh
|
27767e8c08
|
merge PR of @kratolp
|
10 years ago |
Nguyen Anh Quynh
|
d7e42b7d36
|
rename all the constants marking ending from _MAX to _ENDING. this also updates Java/Python/Ocaml bindings accordingly
|
10 years ago |
kratolp
|
39a65299bd
|
Add ppc branch test suite
|
10 years ago |
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
|
10 years ago |
Nguyen Anh Quynh
|
0b702b892d
|
suite: add input files for systematic testing assembly instructions across all archs (MC)
|
10 years ago |
Nguyen Anh Quynh
|
e4d1f4d05c
|
Merge pull request #185 from danghvu/v3
Java binding: fix missing dependency
|
10 years ago |
danghvu
|
3671d70429
|
Java binding: fix missing dependency
|
10 years ago |
Nguyen Anh Quynh
|
ed7e43dc08
|
Merge branch 'v3' of https://github.com/aquynh/capstone into v3
|
10 years ago |
Nguyen Anh Quynh
|
82354b60ba
|
ocaml: rename cs_disasm() back to cs_disasm_quick(), which rightly reflects its nature
|
10 years ago |
Nguyen Anh Quynh
|
b69cb94bcd
|
Merge pull request #184 from danghvu/v3
Fix binding tests and update Java binding to v3
|
10 years ago |
danghvu
|
2412069453
|
Fix python binding tests
|
10 years ago |
danghvu
|
ef92cdb918
|
Update java binding to v3
|
10 years ago |
danghvu
|
53bbee32f9
|
Fix java binding tests
|
10 years ago |
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
|
10 years ago |
Nguyen Anh Quynh
|
bf23075e32
|
ocaml: activate test_xcore.ml's non-class test
|
10 years ago |
Nguyen Anh Quynh
|
c7fa8fa6fc
|
Merge branch 'v3' of https://github.com/aquynh/capstone into v3
|
10 years ago |
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
|
10 years ago |
Nguyen Anh Quynh
|
3f9247d6a5
|
java: add interface for cs_group_name() API
|
10 years ago |
Nguyen Anh Quynh
|
770cf6dfd7
|
cython: update to v3. still need more tests
|
10 years ago |
Nguyen Anh Quynh
|
d442fbc06e
|
arm: t2BXJ also belongs to groups ARM_GRP_NOTMCLASS & ARM_GRP_PREV8
|
10 years ago |
Nguyen Anh Quynh
|
443af14b52
|
ocaml: make some calls on Store_field() in ocaml.c to be in order
|
10 years ago |
Nguyen Anh Quynh
|
fbaedfbb1d
|
ocaml: fix an warning on test_arm64.ml
|
10 years ago |
Nguyen Anh Quynh
|
77d93e9062
|
ocaml: update to work with v3 core
|
10 years ago |
Nguyen Anh Quynh
|
aa58f7fca5
|
typo fix for capstone.h
|
10 years ago |
Nguyen Anh Quynh
|
acbafc6d75
|
ocaml/python/java: fix some broken arm64 constants generated by const_generator.py
|
10 years ago |
Nguyen Anh Quynh
|
54f8cef449
|
mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings
|
10 years ago |
Nguyen Anh Quynh
|
7ac7d4e245
|
mips: on BEQZL, printAlias() should return instruction string. also cleanup some redundant code
|
10 years ago |
Nguyen Anh Quynh
|
240e1c75be
|
mips: print absolute target address for relative branch instructions: BEQL, BGEZALL, BGEZL, BGTZL, BLEZL, BLTZALL, BLTZL, BNEL, BNEZL, BEQZL, BC1F, BC1FL, BC1TL
|
10 years ago |
Nguyen Anh Quynh
|
5691dd4637
|
mips: fixed & added new instructions. also updated Ocaml/Python/Java bindings
|
10 years ago |
Nguyen Anh Quynh
|
4e87675c54
|
arm: relative branch should not be negative. bug reported by @acez
|
10 years ago |
Nguyen Anh Quynh
|
a4da8951e7
|
x86: relative CALL should print out absolute addresses. bug reported by @acez
|
10 years ago |
Nguyen Anh Quynh
|
b339297eac
|
Merge pull request #181 from yegord/v3
Fixed a typo in a CMake option name
|
10 years ago |
Yegor Derevenets
|
ebc4ced3cf
|
Fixed a typo in a CMake option name
|
10 years ago |
Nguyen Anh Quynh
|
e483c6e31d
|
ocaml: update constants
|
10 years ago |
Nguyen Anh Quynh
|
7e181fb509
|
merge PR of @yegord
|
10 years ago |