Commit Graph

3899 Commits

Author SHA1 Message Date
Albert Long 6f4fcff0e7 make.sh: fix ./make.sh ios issue (#1354) 2019-01-25 12:36:37 +08:00
Nguyen Anh Quynh 6845ccde7b nmake-x86.bat: disable EVM, MOS65XX & M680X 2019-01-24 10:43:48 +08:00
Nguyen Anh Quynh 58a80a93f9 update COMPILE.TXT & COMPILE_CMAKE.TXT 2019-01-22 15:49:34 +08:00
Nguyen Anh Quynh 8d2bcc7402 .gitignore 2019-01-22 15:31:39 +08:00
Nguyen Anh Quynh 46d706ca52 capstone.h: CS_VERSION_EXTRA = 0 for v4.1.0 2019-01-22 15:31:00 +08:00
Nguyen Anh Quynh b8a2ce1bec v4.1.0: set extra version = 0 2019-01-22 15:28:55 +08:00
Nguyen Anh Quynh 93f6257e8b MOS65XX: fix missing prototype for ‘MOS65XX_global_init' 2019-01-22 15:23:22 +08:00
JNA a529f4e165 fix cmovcc eflags (#1349) 2019-01-22 14:13:05 +08:00
JNA 067ca50f1e fix cmovcc eflags (#1349) 2019-01-22 13:11:34 +07:00
Nguyen Anh Quynh 70d7653815 remove unused MCOperand_Init() 2019-01-22 09:01:14 +08:00
Marius Melzer 838b9aebd1 Fix missing-prototypes warnings (#1348) 2019-01-22 09:01:13 +08:00
Marius Melzer 171f28e1d4 Add missing-prototypes warning option (#1347) 2019-01-22 09:01:13 +08:00
Nguyen Anh Quynh 1d1bc8ff8a X86: turn some print functions to static. see #1342 2019-01-22 09:01:13 +08:00
Nguyen Anh Quynh 25117412cf remove unused MCOperand_Init() 2019-01-22 08:41:09 +08:00
Marius Melzer b5050df0ea Fix missing-prototypes warnings (#1348) 2019-01-22 07:39:44 +07:00
Marius Melzer d0e932f1d8 Add missing-prototypes warning option (#1347) 2019-01-21 21:23:30 +08:00
Nguyen Anh Quynh 9cd94caa90 X86: turn some print functions to static. see #1342 2019-01-21 20:21:18 +08:00
Erik Hemming 5fdc7de0d9 Fix a couple of corner-cases with rarely used m68k instructions. (#1344)
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s

* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)

* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list

* update bindings to match changes to cs_insn and cs_detail
2019-01-21 17:42:28 +08:00
Erik Hemming a8559cfb78 Fix a couple of corner-cases with rarely used m68k instructions. (#1344)
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s

* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)

* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list

* update bindings to match changes to cs_insn and cs_detail
2019-01-21 16:55:05 +08:00
Nguyen Anh Quynh f52532a002 python: bump version to 4.0.1 2019-01-15 21:34:06 +08:00
rwmjones ff11fa2805 Fix include path in pkg-config for Makefile too (#1339). (#1340)
Commit 0a39b785d3 fixed the pkg-config include path when using cmake.
However it didn't fix it for the Makefile.  This fixes the Makefile
path.

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2019-01-13 21:40:29 +08:00
rwmjones 02e33f8b92 Fix include path in pkg-config for Makefile too (#1339). (#1340)
Commit 0a39b785d3 fixed the pkg-config include path when using cmake.
However it didn't fix it for the Makefile.  This fixes the Makefile
path.

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2019-01-12 14:07:02 +08:00
Benno Fünfstück 08272a10fe bindings/python: fix install error due to old libname (#1338) 2019-01-11 00:13:02 +08:00
Benno Fünfstück c20f9f0995 bindings/python: fix install error due to old libname (#1338) 2019-01-11 00:12:24 +08:00
Nguyen Anh Quynh f9c6a90489 update SPONSORS.TXT 2019-01-10 21:45:56 +08:00
Nguyen Anh Quynh bc2927e523 add SPONSORS.TXT 2019-01-10 13:17:30 +08:00
Nguyen Anh Quynh 196a782ab4 ChangeLog 2019-01-10 13:17:19 +08:00
Nguyen Anh Quynh 19da8a18e9 add SPONSORS.TXT 2019-01-10 13:16:04 +08:00
Nguyen Anh Quynh 64d1f00f10 ChangeLog 2019-01-10 13:11:01 +08:00
Nguyen Anh Quynh 20159a3abb suite/capstone_get_setup.c: add MOS65XX support 2019-01-09 18:31:17 +08:00
Nguyen Anh Quynh 8c75f52f99 cstool: add MOS65XX to output of -v option 2019-01-09 18:30:11 +08:00
Nguyen Anh Quynh aca20f8b38 cstool -v print out the core build setup 2019-01-09 18:27:53 +08:00
Nguyen Anh Quynh d887052756 cstool -v print out the core build setup 2019-01-09 18:27:00 +08:00
Nguyen Anh Quynh 58d4613836 next version = 5 2019-01-09 13:54:06 +08:00
Nguyen Anh Quynh 2c340106cf add suite/capstone_get_setup.c to retrive Capstone build setup. see #1326 2019-01-09 13:49:21 +08:00
Nguyen Anh Quynh 6f07f6545e add suite/capstone_get_setup.c to retrive Capstone build setup. see #1326 2019-01-09 13:45:29 +08:00
Nguyen Anh Quynh f6df412625 bump version to 4.0.1 2019-01-07 13:34:14 +08:00
Nguyen Anh Quynh 0ff8220ade Merge branch 'master' into v4.1 2019-01-04 17:23:50 +08:00
Nguyen Anh Quynh 3146b8b512 cstool: add -s option to turn on skipdata mode on disassembling 2019-01-04 17:23:15 +08:00
Wolfgang Schwotzer 36c61a0541 M680X: Fix clang-analyzer issue #1329. (#1334) 2019-01-03 07:48:55 +08:00
radare 31ce0b3285 Add default case in MOS65XX instruction length helper (#1333) 2019-01-03 07:48:18 +08:00
Nguyen Anh Quynh d1adb923cc python: temporarily comment out skipdata setup, which is still broken on MacOS. #1316 2019-01-02 10:12:29 +08:00
Nguyen Anh Quynh 88cf4895e1 python: temporarily comment out skipdata setup, which is still broken on MacOS. #1316 2019-01-02 10:12:14 +08:00
Nguyen Anh Quynh d8b1e8b44b Merge branch 'master' into v4.1 2019-01-02 10:01:03 +08:00
Nguyen Anh Quynh ebd176e14c ChangeLog 2019-01-02 09:57:12 +08:00
Disconnect3d f4d701fc02 Fix arm thb instruction shift value (#1330)
* Fixes #1317 - arm thb operand.shift.value

For a more detailed description, see issue #1317.

Release 4.0.0 introduced a new field for ARM operands:
`operand.mem.lshift`. This field was supposed to be a bug fix for #246.
The #246 issue has been fixed in the meantime and the proper shift value
was stored in `operand.shift.value`.

The 4.0.0 changes created a regression in which `operand.shift.value`
was not set for a `tbh [r0, r1, lsl #1]` instruction on ARM and the
value was set in a `operand.mem.lshift` field instead.

As the regression broke some of users codebase (e.g. in
[manticore](https://github.com/trailofbits/manticore/pull/1312) project), we fix it by setting
`operand.shift.value` back again.

As a result, the shift value is set in two fields: `operand.shift.value`
and `operand.mem.lshift`. As the `operand.shift` also stores a `.type`
field, we might want to deprecate `operand.mem.lshift` in the future.

* Add changelog stub
2019-01-02 09:51:22 +08:00
disconnect3d 2ac2b0b9ef Add ChangeLog stub for endbrXX fix (#1129) 2019-01-01 07:29:57 -08:00
Nguyen Anh Quynh 472bd43fcf python: rename getter/setter skipdata_cb to skipdata_callback. Hello 2019 2019-01-01 00:22:45 +08:00
Nguyen Anh Quynh 584fa2ff4a add docs/capstone-logo.png 2018-12-31 16:29:00 +08:00
Nguyen Anh Quynh a593f8d028 python: attempt to fix #1320 2018-12-31 15:51:50 +08:00