Skip to content

Commit

Permalink
update: Musa.Veil to 1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroKaku committed Oct 26, 2024
1 parent 86902fe commit be44ff7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 24 deletions.
3 changes: 3 additions & 0 deletions Musa.Core.Project.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory);$(MSBuildProjectDirectory);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<PackageReference Include="Musa.Veil" Version="1.2.6" />
</ItemGroup>
</Project>
5 changes: 0 additions & 5 deletions Musa.Core.StaticLibrary/Musa.Core.StaticLibrary.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,5 @@ xcopy /v /f /d /y "$(IntDirFullPath)Musa.Core.SystemCall.Stubs.obj" "$(SolutionD
<ClCompile Include="..\Musa.Core\Thunks\Ntdll.Thread.cpp" />
<ClCompile Include="..\Musa.Core\Thunks\Ntdll.Utility.cpp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Musa.Veil">
<Version>1.2.5</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.targets" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,5 @@ echo F | xcopy /v /f /d /y "$(IntDirFullPath)Musa.Core.SystemCall.Stubs.obj" "$(
<ClCompile Include="..\Musa.Core\Thunks\Ntdll.Thread.cpp" />
<ClCompile Include="..\Musa.Core\Thunks\Ntdll.Utility.cpp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Musa.Veil">
<Version>1.2.5</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.targets" />
</Project>
5 changes: 0 additions & 5 deletions Musa.Core.Test/Musa.Core.Test.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
<ItemGroup>
<ClCompile Include="Musa.Core.Test.cpp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Musa.Veil">
<Version>1.2.5</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<MusaCoreOnlyHeader>false</MusaCoreOnlyHeader>
</PropertyGroup>
Expand Down
5 changes: 0 additions & 5 deletions Musa.Core.TestForDriver/Musa.Core.TestForDriver.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@
<ItemGroup>
<ClCompile Include="Musa.Core.TestForDriver.cpp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Musa.Veil">
<Version>1.2.5</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<MusaCoreOnlyHeader>false</MusaCoreOnlyHeader>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions Musa.Core/Thunks/KernelBase.LibraryLoader.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "KernelBase.Private.h"
#include "KernelBase.Private.h"
#include "KernelBase.LibraryLoader.Private.h"

#ifdef ALLOC_PRAGMA
Expand Down Expand Up @@ -65,7 +65,7 @@ namespace Musa
}

if (DllHandle == nullptr) {
DllHandle = static_cast<HMODULE>(RtlCurrentImageBase());
DllHandle = reinterpret_cast<HMODULE>(RtlCurrentImageBase());
}

UNICODE_STRING DllFullName_U{};
Expand Down Expand Up @@ -100,7 +100,7 @@ namespace Musa
PAGED_CODE();

if (ModuleName == nullptr) {
return static_cast<HMODULE>(RtlCurrentImageBase());
return reinterpret_cast<HMODULE>(RtlCurrentImageBase());
}

HMODULE DllHandle = nullptr;
Expand Down Expand Up @@ -151,7 +151,7 @@ namespace Musa
}

if (ModuleName == nullptr) {
*DllHandle = static_cast<HMODULE>(RtlCurrentImageBase());
*DllHandle = reinterpret_cast<HMODULE>(RtlCurrentImageBase());
break;
}

Expand Down

0 comments on commit be44ff7

Please sign in to comment.