Commit Graph

3942 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 2b77fcecf2 suite/fuzz/fuzz_disasm.c: prototype for LLVMFuzzerTestOneInput() 2019-02-03 15:11:29 +08:00
Nguyen Anh Quynh 77fdcc9c68 suite/fuzz/fuzz_disasm.c: make platform.comment const char * to fix compiler warning on discards qualifiers 2019-02-03 15:11:13 +08:00
Scott Knight 65cad8cc7b Fix CAPSTONE_HAS_PPC flags (#1361)
The actual conditional PPC flag used is CAPSTONE_HAS_POWERPC. It
appears as if some of the test suite files was using the incorrect flag. Because
of this test_basic, test_detail and test_iter were all failing to output PPC
code in the default configuration.
2019-02-03 09:34:18 +08:00
Nguyen Anh Quynh 864595c355 update HACK.TXT with coding style 2019-02-02 07:39:07 +08:00
Nguyen Anh Quynh 790762668e README: CI on master branch, not on next branch 2019-02-02 00:41:32 +08:00
Nguyen Anh Quynh 734fe6575b nmake.bat: build with static runtime 2019-02-01 13:53:00 +08:00
Nguyen Anh Quynh 5cec47a9db fix cmake-x86.sh 2019-02-01 13:50:18 +08:00
Nguyen Anh Quynh 9ede5c1d12 cmake: add new option CAPSTONE_X86_ONLY to build just x86. also add cmake-x86.sh 2019-02-01 13:43:18 +08:00
Catena cyber 4baab44c6c Doc anout adding an architecture (#1356)
and fixing a comment
2019-01-30 20:33:35 +08:00
Nguyen Anh Quynh 6808a8e38c Python: version = 5.0.0 2019-01-30 01:00:18 +08:00
Nguyen Anh Quynh 098b1402a3 arm: update writeback for STR_POST_REG (issue #1296) 2019-01-28 16:35:18 +08:00
Nguyen Anh Quynh 45bec1a691 arm: update writeback for STR_POST_REG (issue #1296) 2019-01-28 16:34:44 +08:00
Nguyen Anh Quynh c25414d1fb Merge branch 'master' of github.com:aquynh/capstone 2019-01-28 12:40:24 +08:00
Nguyen Anh Quynh ac6a95f484 cstool: print mem.scale as int, not uint. bug reported by @hardtobelieve 2019-01-28 12:40:18 +08:00
Nguyen Anh Quynh fe1547c06a cstool: print mem.scale as int, not uint. bug reported by @hardtobelieve 2019-01-28 12:38:57 +08:00
Nguyen Anh Quynh e96d3fc1ad arm: fix issue #746 for arm mode. reported by @HarDToBelieve 2019-01-27 22:37:43 +08:00
Nguyen Anh Quynh be87f94303 arm: fix issue #746 for arm mode. reported by @HarDToBelieve 2019-01-27 22:37:13 +08:00
Albert Long b44e904578 make.sh: fix ./make.sh ios issue (#1354) 2019-01-25 14:28:17 +08:00
Albert Long 6f4fcff0e7 make.sh: fix ./make.sh ios issue (#1354) 2019-01-25 12:36:37 +08:00
Nguyen Anh Quynh b8f511d9f6 nmake-x86.bat: disable EVM, MOS65XX & M680X 2019-01-24 10:45:00 +08:00
Nguyen Anh Quynh 6845ccde7b nmake-x86.bat: disable EVM, MOS65XX & M680X 2019-01-24 10:43:48 +08:00
Nguyen Anh Quynh 41a734f865 cstool: cleanup usage instructions 2019-01-23 14:39:01 +08:00
Nguyen Anh Quynh 51fd9e9154 update COMPILE.TXT & COMPILE_CMAKE.TXT 2019-01-22 15:50:02 +08:00
Nguyen Anh Quynh 58a80a93f9 update COMPILE.TXT & COMPILE_CMAKE.TXT 2019-01-22 15:49:34 +08:00
Nguyen Anh Quynh 37ec7f9d8e .gitignore 2019-01-22 15:38:25 +08:00
radare 33127994da Add default case in MOS65XX instruction length helper (#1333) 2019-01-22 15:37:35 +08:00
Nguyen Anh Quynh 451da0bd13 MOS65XX: fix missing prototype for ‘MOS65XX_global_init' 2019-01-22 15:35:48 +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 7adfac3bf8 fix cmovcc eflags (#1349) 2019-01-22 14:12:37 +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 c09f7f7133 remove unused MCOperand_Init() 2019-01-22 08:43:02 +08:00
Marius Melzer 850ebc2a32 Fix missing-prototypes warnings (#1348) 2019-01-22 08:43:02 +08:00
Marius Melzer 1f87304e8b Add missing-prototypes warning option (#1347) 2019-01-22 08:43:02 +08:00
Nguyen Anh Quynh 33dc4b9ae2 X86: turn some print functions to static. see #1342 2019-01-22 08:43:02 +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 cc2965bada 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:01 +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