Skip to content

Commit

Permalink
Merge pull request #11 from mrexodia/fix-references
Browse files Browse the repository at this point in the history
Use a reference instead of manually specifying linking to ByePgLib.lib
  • Loading branch information
can1357 authored Nov 21, 2019
2 parents 5a743cc + 8e770c6 commit cc698e7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
7 changes: 6 additions & 1 deletion ExHook/ExHook.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</ClCompile>
<Link>
<EntryPointSymbol>DriverEntry</EntryPointSymbol>
<AdditionalDependencies>$(SolutionDir)Output\ByePgLib.lib;%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib</AdditionalDependencies>
<AdditionalDependencies>%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand All @@ -64,6 +64,11 @@
<ItemGroup>
<ClInclude Include="NT\Internals.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ByePgLib\ByePgLib.vcxproj">
<Project>{bf00f6e3-e234-4a7f-8ae5-89754f362d9f}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
7 changes: 6 additions & 1 deletion ExceptionHookingDemo/ExceptionHookingDemo.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</ClCompile>
<Link>
<EntryPointSymbol>EntryPoint</EntryPointSymbol>
<AdditionalDependencies>$(SolutionDir)Output\ByePgLib.lib;%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib</AdditionalDependencies>
<AdditionalDependencies>%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand All @@ -61,6 +61,11 @@
<ItemGroup>
<ClCompile Include="main.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ByePgLib\ByePgLib.vcxproj">
<Project>{bf00f6e3-e234-4a7f-8ae5-89754f362d9f}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
7 changes: 6 additions & 1 deletion FreeSeh/FreeSeh.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</ClCompile>
<Link>
<EntryPointSymbol>EntryPoint</EntryPointSymbol>
<AdditionalDependencies>$(SolutionDir)Output\ByePgLib.lib;%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib</AdditionalDependencies>
<AdditionalDependencies>%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand All @@ -64,6 +64,11 @@
<ItemGroup>
<ClInclude Include="NT\SEH.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ByePgLib\ByePgLib.vcxproj">
<Project>{bf00f6e3-e234-4a7f-8ae5-89754f362d9f}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
7 changes: 6 additions & 1 deletion InfinityHookFix/InfinityHookFix.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</ClCompile>
<Link>
<EntryPointSymbol>EntryPoint</EntryPointSymbol>
<AdditionalDependencies>$(SolutionDir)Output\ByePgLib.lib;%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib</AdditionalDependencies>
<AdditionalDependencies>%(AdditionalDependencies);$(KernelBufferOverflowLib);$(DDK_LIB_PATH)ntoskrnl.lib;$(DDK_LIB_PATH)hal.lib;$(DDK_LIB_PATH)wmilib.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfLdr.lib;$(KMDF_LIB_PATH)$(KMDF_VER_PATH)\WdfDriverEntry.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand All @@ -64,6 +64,11 @@
<ItemGroup>
<ClInclude Include="IhFix.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ByePgLib\ByePgLib.vcxproj">
<Project>{bf00f6e3-e234-4a7f-8ae5-89754f362d9f}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down

0 comments on commit cc698e7

Please sign in to comment.