Skip to content

Commit

Permalink
No vcpkg when building kernel.
Browse files Browse the repository at this point in the history
  • Loading branch information
BeneficialCode committed Sep 14, 2024
1 parent f9e0510 commit 2256c82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Anti-Rootkit/Anti-Rootkit.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@
<Inf2CatUseLocalTime>true</Inf2CatUseLocalTime>
<TargetName>AntiRootkit</TargetName>
</PropertyGroup>
<PropertyGroup Label="Vcpkg">
<VcpkgEnabled>false</VcpkgEnabled>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<ClCompile>
<TreatWarningAsError>false</TreatWarningAsError>
Expand Down Expand Up @@ -250,7 +253,7 @@ mkdir $(ProjectDir)..\Bin</Command>
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
<AssemblyDebug>false</AssemblyDebug>
<AdditionalOptions>/debug:"NONE" /release /pdbcompress %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>fltmgr.lib;Zydis.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>fltmgr.lib;Zydis.lib;Zycore.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>xcopy /Y $(OutDir)AntiRootkit.sys $(ProjectDir)..\Bin</Command>
Expand Down
1 change: 1 addition & 0 deletions KernelLibrary/khook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include "reflector.h"
#include "hal.h"


SystemServiceTable* khook::_ntTable = nullptr;
SystemServiceTable* khook::_win32kTable = nullptr;
PVOID khook::_kernelImageBase = nullptr;
Expand Down

0 comments on commit 2256c82

Please sign in to comment.