Commit Graph

39 Commits

Author SHA1 Message Date
Quang Nguyễn
3da508b33b Compile cstool on Windows using Microsoft Visual Studio (VS). (#927)
* provide a validity check to prevent against Integer overflow conditions

* fix some style issues.

* provide a validity check in malloc() function to prevent against integer overflow conditions

* missing Ntintsafe.h

* use tabs for indentation

* add cstool project
2017-05-16 16:52:34 +07:00
Nick Briggs
2aedb8168c Rename test.c to test_basic.c with corresponding executable name change. (#923)
* Rename test.c to test_basic.c with corresponding executable name change.

* Fix Makefile, tests/Makefile to comprehend renamed test program. See issue #922

* Fix XCode project to comprehend renamed test program.  See issue #922

* Rename python test.py to test_basic.py to parallel C test name.  See issue #922

* Rename ocaml test.ml to test_basic.ml to parallel C test name.  See issue #922

* Fix MSVC project definitions to comprehend renamed test program.  See issue #922
2017-05-11 22:58:12 +07:00
tandasat
8320fc21f6 set warning level 3 from default(4) 2016-05-04 05:55:10 -07:00
tandasat
061aa008ae exclude winkernel from build and update notes on it 2016-04-23 15:30:01 -07:00
tandasat
00cb0e8c3c add a description of winkernel projects 2016-04-23 15:00:15 -07:00
tandasat
7a80d386ea add winkernel and its test projects 2016-04-23 12:18:53 -07:00
tandasat
4a0e61cb45 revert to 2fdd954 (delete WDK settings) 2016-04-23 11:48:05 -07:00
tandasat
7476eb4e18 unwind the last commit 2016-04-11 22:00:21 -07:00
tandasat
49e170901f change compile configuration 2016-04-11 21:46:46 -07:00
tandasat
318e0a2685 Added compile configurations for WDK 2016-03-31 18:05:13 -07:00
Nguyen Anh Quynh
c18e97ddf5 no longer use osxkernel_inttypes.h for license reason & move the content of msvc\headers\inttypes.h to myinttypes.h 2015-06-08 23:21:44 +08:00
Axel 0vercl0k Souchet
4a895772c2 actually tracking test_iter 2015-05-01 22:32:30 -07:00
Axel 0vercl0k Souchet
1a8ffc38fc tabs 2015-05-01 22:31:45 -07:00
Axel 0vercl0k Souchet
7b72a47645 add test_iter to msvc solution 2015-05-01 22:20:01 -07:00
Axel 0vercl0k Souchet
1c6cf8d4c0 capstone_dll gets also statically linked to the CRT now 2015-02-05 19:48:47 +00:00
Axel 0vercl0k Souchet
2fdd95433c /MT(d) -> /MD(d) 2015-02-01 00:36:53 +08:00
Mr. eXoDia
e268f46068 changed ImportLibrary name from capstone_dll to 'capstone_dll.lib' 2014-08-30 14:49:16 +02:00
obs
cb8e40cc79 added CAPSTONE_X86_ATT_DISABLE_NO to VS projects, readmes 2014-08-17 21:07:13 +02:00
Nguyen Anh Quynh
6785b0d216 msvc: remove unused CAPSTONE_STATIC macro in capstone_static project 2014-06-04 16:45:45 +07:00
Nguyen Anh Quynh
0843078c74 msvc: rename libcapstone.dll to capstone.dll, libcapstone.lib to capstone.lib 2014-06-03 22:20:46 +07:00
Nguyen Anh Quynh
c165b85a9b msvc: define CAPSTONE_STATIC macro for capstone_static project 2014-06-03 22:06:47 +07:00
Nguyen Anh Quynh
814240c585 msvc: export public APIs for capstone_dll 2014-06-03 20:13:19 +07:00
Nguyen Anh Quynh
112556d9f9 msvc: rename test_arm.vcxproj to test_xcore.vcxproj 2014-05-27 23:57:52 +08:00
Nguyen Anh Quynh
2eff6a377c msvc: support XCore 2014-05-27 11:41:46 +08:00
Nguyen Anh Quynh
61882e56d5 msvc: update documentation for VS2010 2014-05-18 00:39:49 +08:00
Nguyen Anh Quynh
c3d0d22709 msvc: fix for VS2010 2014-05-16 15:37:28 +08:00
Nguyen Anh Quynh
0273468003 msvc: support VS2010 2014-05-16 12:27:32 +08:00
Nguyen Anh Quynh
e2d941672b msvc: add inttypes.h for pre-VS2012 compiler (without C99 support) 2014-05-15 21:21:51 +08:00
Nguyen Anh Quynh
dcc6ebeab7 msvc: add included directory 2014-05-15 14:12:09 +08:00
Nguyen Anh Quynh
1d2e69b869 msvc: remove headers/ directory & replace it with include/platform.h 2014-05-15 13:56:54 +08:00
Nguyen Anh Quynh
1127504e24 msvc: rename msvc-2012.sln to capstone.sln 2014-05-15 10:47:24 +08:00
Nguyen Anh Quynh
d0c38d5be0 msvc: rename libraries: capstone.lib to libcapstone.lib, capstone.dll to libcapstone.dll. this is to be consistent with the libs generated by cross-platform compilation on *nix 2014-05-15 10:46:19 +08:00
Nguyen Anh Quynh
e27d10137a msvc: bool date type should have 1 byte size, not 4. C++ compiler exposed this issue. bug reported by Axel Souchet 2014-05-15 09:36:00 +08:00
Nguyen Anh Quynh
811963e715 msvc: replace - with _ in filenames & dirs for consistency 2014-05-14 17:32:40 +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
Axel 0vercl0k Souchet
14ebaafb06 cleaned up the msvc tree 2014-05-11 17:24:28 +01:00