dynarmic/msvc
MerryMage 6ee9beab32 Squashed 'externals/zydis/' content from commit 25193db00
git-subtree-dir: externals/zydis
git-subtree-split: 25193db008e8799ff59fd655c2a26b2ffd79d40d
2021-05-25 21:23:39 +01:00
..
dependencies/zycore Squashed 'externals/zydis/' content from commit 25193db00 2021-05-25 21:23:39 +01:00
examples Squashed 'externals/zydis/' content from commit 25193db00 2021-05-25 21:23:39 +01:00
tools Squashed 'externals/zydis/' content from commit 25193db00 2021-05-25 21:23:39 +01:00
zydis Squashed 'externals/zydis/' content from commit 25193db00 2021-05-25 21:23:39 +01:00
README.md Squashed 'externals/zydis/' content from commit 25193db00 2021-05-25 21:23:39 +01:00
ZycoreExportConfig.h Squashed 'externals/zydis/' content from commit 25193db00 2021-05-25 21:23:39 +01:00
Zydis.sln Squashed 'externals/zydis/' content from commit 25193db00 2021-05-25 21:23:39 +01:00
ZydisExportConfig.h Squashed 'externals/zydis/' content from commit 25193db00 2021-05-25 21:23:39 +01:00

Readme

This directory contains MSVC project files to build Zydis and the included tools and examples.

There are five build configurations, each with 32/64 bit and debug/release versions:

  • Static with dynamic run-time library (MD)
  • Static with static run-time library (MT)
  • Dynamic (DLL) with dynamic run-time library (MD)
  • Dynamic (DLL) with static run-time library (MT)
  • Kernel mode

In order to build the kernel mode configuration you must have the Microsoft WDK installed, available at https://developer.microsoft.com/en-us/windows/hardware/windows-driver-kit. The kernel mode configuration only builds Zydis and the ZydisWinKernel driver sample. The other configurations build all projects except for ZydisWinKernel.

NOTE: If you already have the WDK installed, make sure it is updated to at least the Windows 10 1709 version (10.0.16299.0) in order to prevent issues opening the solution file. This is due to a bug in older WDK toolsets.

All Zydis features are enabled by default. In order to disable specific features you can define preprocessor directives such as ZYDIS_DISABLE_FORMATTER. Refer to CMakeLists.txt for the full list of feature switches.