1<?xml version="1.0" encoding="utf-8"?> 2<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <ItemGroup Label="ProjectConfigurations"> 4 <ProjectConfiguration Include="Debug|Win32"> 5 <Configuration>Debug</Configuration> 6 <Platform>Win32</Platform> 7 </ProjectConfiguration> 8 <ProjectConfiguration Include="Debug|x64"> 9 <Configuration>Debug</Configuration> 10 <Platform>x64</Platform> 11 </ProjectConfiguration> 12 <ProjectConfiguration Include="Release|Win32"> 13 <Configuration>Release</Configuration> 14 <Platform>Win32</Platform> 15 </ProjectConfiguration> 16 <ProjectConfiguration Include="Release|x64"> 17 <Configuration>Release</Configuration> 18 <Platform>x64</Platform> 19 </ProjectConfiguration> 20 </ItemGroup> 21 <PropertyGroup Label="Globals"> 22 <ProjectGuid>{C6E4974C-2CAF-499A-802A-FB906F86B4C8}</ProjectGuid> 23 <TemplateGuid>{1bc93793-694f-48fe-9372-81e2b05556fd}</TemplateGuid> 24 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 25 <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion> 26 <Configuration>Win8.1 Debug</Configuration> 27 <Platform Condition="'$(Platform)' == ''">Win32</Platform> 28 <RootNamespace>test_winkernel</RootNamespace> 29 <ProjectName>test_winkernel</ProjectName> 30 </PropertyGroup> 31 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 32 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> 33 <TargetVersion>Windows7</TargetVersion> 34 <UseDebugLibraries>true</UseDebugLibraries> 35 <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> 36 <ConfigurationType>Driver</ConfigurationType> 37 <DriverType>KMDF</DriverType> 38 </PropertyGroup> 39 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> 40 <TargetVersion>Windows7</TargetVersion> 41 <UseDebugLibraries>false</UseDebugLibraries> 42 <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> 43 <ConfigurationType>Driver</ConfigurationType> 44 <DriverType>KMDF</DriverType> 45 </PropertyGroup> 46 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> 47 <TargetVersion>Windows7</TargetVersion> 48 <UseDebugLibraries>true</UseDebugLibraries> 49 <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> 50 <ConfigurationType>Driver</ConfigurationType> 51 <DriverType>KMDF</DriverType> 52 </PropertyGroup> 53 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> 54 <TargetVersion>Windows7</TargetVersion> 55 <UseDebugLibraries>false</UseDebugLibraries> 56 <PlatformToolset>WindowsKernelModeDriver8.1</PlatformToolset> 57 <ConfigurationType>Driver</ConfigurationType> 58 <DriverType>KMDF</DriverType> 59 </PropertyGroup> 60 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 61 <ImportGroup Label="ExtensionSettings"> 62 </ImportGroup> 63 <ImportGroup Label="PropertySheets"> 64 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 65 </ImportGroup> 66 <PropertyGroup Label="UserMacros" /> 67 <PropertyGroup /> 68 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 69 <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 70 </PropertyGroup> 71 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 72 <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 73 </PropertyGroup> 74 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 75 <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 76 </PropertyGroup> 77 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 78 <DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor> 79 </PropertyGroup> 80 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 81 <ClCompile> 82 <WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData> 83 <WppKernelMode>true</WppKernelMode> 84 <AdditionalIncludeDirectories>..\..\include;..\headers;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 85 <PreprocessorDefinitions>CAPSTONE_X86_ATT_DISABLE_NO;CAPSTONE_DIET_NO;CAPSTONE_X86_REDUCE_NO;CAPSTONE_HAS_ARM;CAPSTONE_HAS_ARM64;CAPSTONE_HAS_M68K;CAPSTONE_HAS_MIPS;CAPSTONE_HAS_POWERPC;CAPSTONE_HAS_SPARC;CAPSTONE_HAS_SYSZ;CAPSTONE_HAS_X86;CAPSTONE_HAS_XCORE;CAPSTONE_USE_SYS_DYN_MEM;%(PreprocessorDefinitions)</PreprocessorDefinitions> 86 </ClCompile> 87 <Link> 88 <AdditionalDependencies>capstone_static_winkernel.lib;ntstrsafe.lib;%(AdditionalDependencies)</AdditionalDependencies> 89 <AdditionalLibraryDirectories>..\Debug</AdditionalLibraryDirectories> 90 </Link> 91 </ItemDefinitionGroup> 92 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 93 <ClCompile> 94 <WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData> 95 <WppKernelMode>true</WppKernelMode> 96 <AdditionalIncludeDirectories>..\..\include;..\headers;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 97 <PreprocessorDefinitions>CAPSTONE_X86_ATT_DISABLE_NO;CAPSTONE_DIET_NO;CAPSTONE_X86_REDUCE_NO;CAPSTONE_HAS_ARM;CAPSTONE_HAS_ARM64;CAPSTONE_HAS_M68K;CAPSTONE_HAS_MIPS;CAPSTONE_HAS_POWERPC;CAPSTONE_HAS_SPARC;CAPSTONE_HAS_SYSZ;CAPSTONE_HAS_X86;CAPSTONE_HAS_XCORE;CAPSTONE_USE_SYS_DYN_MEM;%(PreprocessorDefinitions)</PreprocessorDefinitions> 98 </ClCompile> 99 <Link> 100 <AdditionalDependencies>capstone_static_winkernel.lib;ntstrsafe.lib;%(AdditionalDependencies)</AdditionalDependencies> 101 <AdditionalLibraryDirectories>..\Release</AdditionalLibraryDirectories> 102 </Link> 103 </ItemDefinitionGroup> 104 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> 105 <ClCompile> 106 <WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData> 107 <WppKernelMode>true</WppKernelMode> 108 <AdditionalIncludeDirectories>..\..\include;..\headers;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 109 <PreprocessorDefinitions>CAPSTONE_X86_ATT_DISABLE_NO;CAPSTONE_DIET_NO;CAPSTONE_X86_REDUCE_NO;CAPSTONE_HAS_ARM;CAPSTONE_HAS_ARM64;CAPSTONE_HAS_M68K;CAPSTONE_HAS_MIPS;CAPSTONE_HAS_POWERPC;CAPSTONE_HAS_SPARC;CAPSTONE_HAS_SYSZ;CAPSTONE_HAS_X86;CAPSTONE_HAS_XCORE;CAPSTONE_USE_SYS_DYN_MEM;%(PreprocessorDefinitions)</PreprocessorDefinitions> 110 </ClCompile> 111 <Link> 112 <AdditionalDependencies>capstone_static_winkernel.lib;ntstrsafe.lib;%(AdditionalDependencies)</AdditionalDependencies> 113 <AdditionalLibraryDirectories>..\x64\Debug</AdditionalLibraryDirectories> 114 </Link> 115 </ItemDefinitionGroup> 116 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> 117 <ClCompile> 118 <WppScanConfigurationData Condition="'%(ClCompile. ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData> 119 <WppKernelMode>true</WppKernelMode> 120 <AdditionalIncludeDirectories>..\..\include;..\headers;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 121 <PreprocessorDefinitions>CAPSTONE_X86_ATT_DISABLE_NO;CAPSTONE_DIET_NO;CAPSTONE_X86_REDUCE_NO;CAPSTONE_HAS_ARM;CAPSTONE_HAS_ARM64;CAPSTONE_HAS_M68K;CAPSTONE_HAS_MIPS;CAPSTONE_HAS_POWERPC;CAPSTONE_HAS_SPARC;CAPSTONE_HAS_SYSZ;CAPSTONE_HAS_X86;CAPSTONE_HAS_XCORE;CAPSTONE_USE_SYS_DYN_MEM;%(PreprocessorDefinitions)</PreprocessorDefinitions> 122 </ClCompile> 123 <Link> 124 <AdditionalDependencies>capstone_static_winkernel.lib;ntstrsafe.lib;%(AdditionalDependencies)</AdditionalDependencies> 125 <AdditionalLibraryDirectories>..\x64\Release</AdditionalLibraryDirectories> 126 </Link> 127 </ItemDefinitionGroup> 128 <ItemGroup> 129 <FilesToPackage Include="$(TargetPath)" /> 130 <FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" /> 131 </ItemGroup> 132 <ItemGroup> 133 <ClCompile Include="..\..\tests\test_winkernel.cpp" /> 134 </ItemGroup> 135 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 136 <ImportGroup Label="ExtensionTargets"> 137 </ImportGroup> 138</Project> 139