Commit Graph

3899 Commits

Author SHA1 Message Date
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 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
Nguyen Anh Quynh cafce5dc89 Merge branch 'master' into next 2018-12-19 07:49:32 +07:00
Nguyen Anh Quynh 863044dc31 remove rc1 from pkgconfig.mk 2018-12-19 07:49:02 +07:00
Nguyen Anh Quynh 75c05281b4 Merge branch 'master' of github.com:aquynh/capstone 2018-12-19 00:31:46 +08:00
Nguyen Anh Quynh 55386e7ba4 RELEASE_NOTES 2018-12-19 00:31:23 +08:00
Ammar bae63f65c1 x86: correct access mode for cmp instruction (#1309)
cmp instruction does not modify its operands. Currently, cmp
variants that accept a memory operand have CS_AC_WRITE access mode
set. This commit removes CS_AC_WRITE mode from cmp variants that
have it.
2018-12-18 23:22:30 +08:00
Nguyen Anh Quynh 856ef5892c MOS65XX: lowercase for MOS65XX_AM_ACC 2018-12-18 22:46:23 +08:00
Nguyen Anh Quynh e835bdbd89 Merge branch 'master' into next 2018-12-18 22:44:57 +08:00
Nguyen Anh Quynh cc8da331d3 M680X: lowercase for registers & FCB instruction 2018-12-18 22:44:12 +08:00
Nguyen Anh Quynh 290828fc31 TMS320C64x: lowercase for instruction mnemonics, registers & group names 2018-12-18 22:40:31 +08:00
Nguyen Anh Quynh 31b7acde26 M680X: lowercase for instruction mnemonics & group names 2018-12-18 22:33:00 +08:00
Nguyen Anh Quynh 1d96deec98 MOS65XX: lowercase for instruction mnemonic 2018-12-18 22:28:33 +08:00
Nguyen Anh Quynh a0cdd0bfbe ChangeLog for v4.0 2018-12-18 22:25:39 +08:00
Catena cyber b8c20f47a8 MOS65XX fuzzing (#1307) 2018-12-18 09:24:10 +08:00
Nguyen Anh Quynh 57d9bda493 fix ChangeLog 2018-12-17 19:10:31 +08:00
Nguyen Anh Quynh 9433fc1061 Merge branch 'master' of https://github.com/aquynh/capstone 2018-12-17 14:04:21 +08:00
Nguyen Anh Quynh 1781e589f2 HACK.TXT: add TMS320C64x 2018-12-16 21:54:29 +08:00
Nguyen Anh Quynh 921dbb2d3a HACK.TXT: add TMS320C64x 2018-12-16 21:53:56 +08:00
mephi42 d9b8079aba Update SystemZ to LLVM commit 5ad902a6 (#1306) 2018-12-16 21:48:51 +08:00
Nguyen Anh Quynh e6ceee576d mos65xx: fix warnings reported by CI 2018-12-16 20:47:52 +08:00
Nguyen Anh Quynh 5c634289b4 bump version to 4.1 2018-12-16 20:18:20 +08:00
Nguyen Anh Quynh 6318f623f1 tests: add MOS65XX sample to test_basic.c 2018-12-16 20:14:07 +08:00
Nguyen Anh Quynh 3933674e62 mos65xx: solve conflicts 2018-12-16 20:09:28 +08:00
Nguyen Anh Quynh efaee7ae44 Merge branch 'master' into next 2018-12-16 19:58:43 +08:00
Nguyen Anh Quynh 7732f3a354 update HACK.TXT 2018-12-12 16:30:45 +07:00
Catena cyber 3a0467cfea Use whole corpus for regression testing (#1302)
* Use whole corpus for regression testing

* differetial fuzzing against llvm-mc

* Download corpus from another repo
2018-12-11 09:33:31 +07:00
Nguyen Anh Quynh 3a6a8d59d6 fix conflicts 2018-12-08 09:52:08 +07:00
Sebastian Macke 8663d75c56 MOS65XX: Add binding for python
Signed-off-by: Sebastian Macke <sebastian@macke.de>
2018-12-06 22:53:43 +01:00