Commit Graph

1152 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 0ffd811d67 merge next branch 2014-05-14 14:33:03 +08:00
Nguyen Anh Quynh b2a88df20f MSVC added some code picked up by MingW, so cross-win32/74 compile is broken. this fixes the issue 2014-05-14 14:28:40 +08:00
Nguyen Anh Quynh 506890863c x86: assembly syntax is irrelevant in Diet mode. this optimization reduces library size to only 180KB on OSX 2014-05-14 12:26:53 +08:00
Nguyen Anh Quynh 8598a219f3 enable arch code from source with CAPSTONE_HAS_* for MSVC to pick up 2014-05-14 11:26:41 +08:00
Nguyen Anh Quynh 9c02b272b6 update COMPILE_MSVC.TXT 2014-05-14 08:00:22 +08:00
Nguyen Anh Quynh ba37f33a53 msvc: update COMPILE_MSVC.TXT for more detail instructions 2014-05-14 07:48:50 +08:00
Nguyen Anh Quynh 8c2e2db84e fix an warning on unused local variable in fill-insn() when CAPSTONE_DIET is defined 2014-05-14 07:32:56 +08:00
Nguyen Anh Quynh 928e113aeb msvc: add 2 predefined macros CAPSTONE_DIET_NO & CAPSTONE_X86_REDUCE_NO 2014-05-14 07:22:32 +08:00
Axel 0vercl0k Souchet d8301d653a rename the project names in order to be consisten with *nix's ones 2014-05-13 21:57:53 +01:00
Axel 0vercl0k Souchet 0a9a9dfdcb added capstone-dll, renamed the static lib output (capstone.lib now) 2014-05-12 19:07:37 +01:00
Axel 0vercl0k Souchet 1f0615f9e6 the tests won't build if the library hasn't been generated now 2014-05-12 18:37:36 +01:00
Nguyen Anh Quynh eb2e840887 x86: fix C89 issues for X86GenAsmWriter1_reduce.inc & X86GenAsmWriter_reduce.inc 2014-05-12 21:53:53 +08:00
Nguyen Anh Quynh cfcace3f43 arm: make checkDecoderPredicate() handle boolean casting for MSVC (redone in more systematic way for autogen code) 2014-05-12 21:38:05 +08:00
Nguyen Anh Quynh 805fed5162 make checkDecoderPredicate() handle boolean casting for MSVC 2014-05-12 21:29:04 +08:00
Nguyen Anh Quynh ef3e450f1a arm: checkDecoderPredicate() needs to handle Bool data type in the way that MSVC can understand 2014-05-12 18:15:18 +08:00
Nguyen Anh Quynh 043702e9ef more fixes for warnings reported by MSVC 2014-05-12 16:17:00 +08:00
Nguyen Anh Quynh 6893ec535e more warnings fixed reported by MSVC 2014-05-12 15:36:38 +08:00
Nguyen Anh Quynh 638835a1d5 fix some warnings reported by MSVC 2014-05-12 15:15:32 +08:00
Nguyen Anh Quynh 3878ff0641 skipdata: change data type of callback's offset to uint64_t 2014-05-12 15:15:04 +08:00
Nguyen Anh Quynh abffe02a46 sparc: recover autogen code in arch/Sparc/SparcGenDisassemblerTables.inc 2014-05-12 13:48:22 +08:00
Nguyen Anh Quynh bb0744df5d do not initialize some local vars unnecessarily. this problem was introduced when we fixed C89 issues for MSVC 2014-05-12 13:41:49 +08:00
Axel 0vercl0k Souchet 14ebaafb06 cleaned up the msvc tree 2014-05-11 17:24:28 +01:00
Nguyen Anh Quynh 2d34251889 x86: handle 16bit segment bound for JMP. bug reported by Pancake & Anton Kochkov 2014-05-11 15:33:11 +08:00
Nguyen Anh Quynh 91a19232a2 Makefile: do not overwritte LDFLAGS with null value 2014-05-11 01:13:36 +08:00
Nguyen Anh Quynh 55b8ecd7bd Makefile: do not overwritte LDFLAGS with null value 2014-05-11 01:04:05 +08:00
Nguyen Anh Quynh 2c35123246 Merge branch 'next' into msvc2 2014-05-10 23:24:22 +08:00
Nguyen Anh Quynh 726f99c52f COMPILE_MSVC.TXT: 80 columns 2014-05-10 23:22:59 +08:00
Nguyen Anh Quynh 75bd04b09a Merge pull request #114 from nanomad/next
Ignore .d files and tests/test_skipdata
2014-05-10 23:17:15 +08:00
Giovanni Condello 314893c19d Ignore .d files and tests/test_skipdata 2014-05-10 16:05:49 +02:00
Axel 0vercl0k Souchet cbd1940195 some more 2014-05-10 14:48:39 +01:00
Axel 0vercl0k Souchet 2ea1e22734 forgot to add the new project files 2014-05-10 14:46:58 +01:00
Axel 0vercl0k Souchet 27e9cc4d54 rename the solution & the project to make more sense ; add some build instructions 2014-05-10 14:41:45 +01:00
Nguyen Anh Quynh b07523ff26 Merge branch 'next' into msvc2 2014-05-10 19:46:37 +08:00
Nguyen Anh Quynh 6063b90515 add COMPILE_MSVC.TXT 2014-05-10 19:46:20 +08:00
Nguyen Anh Quynh 87a3f6915d Makefile: define CAPSTONE_USE_SYS_DYN_MEM macro for consistency 2014-05-10 19:26:32 +08:00
Axel 0vercl0k Souchet 60849ffff4 added support for release/debug win64 2014-05-10 10:02:50 +01:00
Axel 0vercl0k Souchet 84fecf2f99 added the debug configuration + correct the macro name for consistency 2014-05-10 09:49:29 +01:00
Axel 0vercl0k Souchet 47401aff06 oops, use the correct macro name 2014-05-10 09:09:52 +01:00
Nguyen Anh Quynh 595386c668 do not overwrite LDFLAGS in tests/Makefile 2014-05-10 15:50:38 +08:00
Nguyen Anh Quynh 0596e11bd5 arm64: fix a wrong int type of a local var in printLabelOperand. this bug was introduced when we fixed C89 issue for MSVC 2014-05-10 09:17:48 +08:00
Axel 0vercl0k Souchet 6a4e8caf34 fixed absolute paths in relative ones to be more generic 2014-05-09 21:41:36 +01:00
Axel 0vercl0k Souchet de2dff44a0 fixed test_skipdata.c for VS2012 2014-05-09 21:32:41 +01:00
Axel 0vercl0k Souchet d3eb98bd34 fixed test_detail.c for VS2012 2014-05-09 21:28:07 +01:00
Axel 0vercl0k Souchet e116c51c08 fixed test_ppc.c for VS2012 2014-05-09 21:17:02 +01:00
Axel 0vercl0k Souchet a072459b4a fixed test_mips.c for VS2012 2014-05-09 21:14:19 +01:00
Axel 0vercl0k Souchet ca16d0c6ca fixed test_arm64.c for VS2012 2014-05-09 21:11:29 +01:00
Axel 0vercl0k Souchet 6b2395f5f7 fixed test_arm.c for VS2012 2014-05-09 21:08:40 +01:00
Axel 0vercl0k Souchet d2a7fae82d add the solution + the project for test_x86 2014-05-09 21:04:54 +01:00
Axel 0vercl0k Souchet e47b8121fe test_x86.c now works on VS2012 2014-05-09 21:03:29 +01:00
Axel 0vercl0k Souchet 35c8467275 still want that to compile on other systems 2014-05-09 20:51:02 +01:00