Commit Graph

4026 Commits

Author SHA1 Message Date
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 f1fc51bd09 next version = 5.0 2019-01-09 13:53:17 +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 19be9b1a92 add suite/capstone_get_setup.c to retrive Capstone build setup. see #1326 2019-01-09 13:49:03 +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 343ddad604 Merge branch 'master' into next 2019-01-04 17:24:16 +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 7ede48cd90 python: temporarily comment out skipdata setup, which is still broken on MacOS. #1316 2019-01-02 10:11:48 +08:00
Nguyen Anh Quynh 90b90f9491 Merge branch 'master' into next 2019-01-02 10:01:28 +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
Nguyen Anh Quynh d6ff350270 Merge branch 'master' of https://github.com/aquynh/capstone 2018-12-31 15:46:16 +08:00
Семён Марьясин 6c54814d25 Fix skipdata setup (#1320)
* Fix skipdata_setup for when _cb is None

ctypes prototype does not accept None value,
so if we want to get a NULL function pointer
then we should either call it with no arguments
or pass zero as an argument.

Fixes #1316

* Do store and return skipdata_setup data

* Add convenience wrappers for skipdata_setup

* Uncomment skipdata_setup tests

* Add alternate usage variants to test_skipdata.py

* document getter
2018-12-31 15:42:44 +08:00
Nguyen Anh Quynh c959659f14 Merge branch 'master' of https://github.com/aquynh/capstone 2018-12-31 15:20:09 +08:00
Nguyen Anh Quynh 9955a2cd16 Merge branch 'master' into next 2018-12-27 09:41:29 +08:00
Nguyen Anh Quynh 84d45f47e8 Merge branch 'master' into v4.1 2018-12-27 09:41:01 +08:00
Nguyen Anh Quynh 8f4cc4e80d arm: remove group ARM_REG_PC for thumb BX (#1323, 1126) 2018-12-27 09:40:19 +08:00
Nguyen Anh Quynh deb9a3c415 Merge branch 'master' into next 2018-12-20 22:34:29 +08:00
Nguyen Anh Quynh e8967c684f Merge branch 'master' of github.com:aquynh/capstone 2018-12-20 22:32:10 +08:00
Catena cyber bf43394b1e Quiet unzip output for travis (#1321) 2018-12-20 22:31:50 +08:00
Catena cyber bbeef46648 Quiet unzip output for travis (#1321) 2018-12-20 18:12:48 +08:00
Nelson Chen 02497b1c80 Normalize IS_MINGW checks (and include MSYS, like main Makefile) (#1318)
Following in the steps of #1290
2018-12-20 15:09:27 +08:00
Nguyen Anh Quynh 81e424c50a Merge branch 'master' into next 2018-12-20 02:58:23 +08:00
Nguyen Anh Quynh d2d30bbdea Merge branch 'master' of github.com:aquynh/capstone 2018-12-20 02:54:51 +08:00
Nguyen Anh Quynh dd58d16152 x86: fix endbr32 & endbr64 in #1129 2018-12-20 02:54:44 +08:00
Sergei Trofimovich f1d6952898 Makefile: fix 'make uninstall DESTDIR=foo' for #1311 (#1314)
Uninstall was prepending `$(DESTDIR)` twice to libdir:

```Makefile
LIBDIR = $(DESTDIR)$(PREFIX)/$(LIBDIRARCH)
...
uninstall:
    ...
    rm -f $(DESTDIR)$(LIBDIR)/lib$(LIBNAME).*
```

The change drops prefixing on `uninstall` site.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2018-12-19 15:52:20 +08:00
Catena cyber 4f6e6045e9 Testing whole corpus only if present (#1313) 2018-12-19 15:43:31 +08:00
Nguyen Anh Quynh 08a2b5d931 Merge branch 'master' into next 2018-12-19 11:16:56 +07:00
Nguyen Anh Quynh 1619b97fdb .gitignore 2018-12-19 11:16:31 +07:00
Nguyen Anh Quynh f8552dbd2b Makefile: more fix for #1312 2018-12-19 09:25:04 +07:00
Nguyen Anh Quynh 4d8d3573dc fix merge conflicts 2018-12-19 09:23:14 +07:00
Nguyen Anh Quynh 9ecc20f1bb Makefile: more fix for #1312 2018-12-19 09:21:07 +07:00
Nguyen Anh Quynh d39cdf473d Merge branch 'master' of github.com:aquynh/capstone 2018-12-19 09:41:47 +08:00
Nguyen Anh Quynh 4568e7c1cb fix #1311 & #1312 2018-12-19 09:41:34 +08:00
Nguyen Anh Quynh b9dd878636 empty RELEASE_NOTES for v4.1 2018-12-19 07:50:18 +07:00