Skip to content

Commit

Permalink
initial disassembly view support through Zydis
Browse files Browse the repository at this point in the history
  • Loading branch information
BoyC committed Apr 10, 2024
1 parent b9f8a58 commit 929ded9
Show file tree
Hide file tree
Showing 5 changed files with 218 additions and 40 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "ImGui"]
path = ImGui
url = https://github.com/ocornut/imgui.git
[submodule "zydis"]
path = zydis
url = https://github.com/zyantific/zydis
10 changes: 10 additions & 0 deletions kkpViewer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ VisualStudioVersion = 17.7.34221.43
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kkpViewer", "kkpViewer.vcxproj", "{B0D902FC-59B1-4041-BDE8-3A9963933175}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Zydis", "zydis\msvc\zydis\Zydis.vcxproj", "{88A23124-5640-35A0-B890-311D7A67A7D2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Expand All @@ -21,6 +23,14 @@ Global
{B0D902FC-59B1-4041-BDE8-3A9963933175}.Release|x64.Build.0 = Release|x64
{B0D902FC-59B1-4041-BDE8-3A9963933175}.Release|x86.ActiveCfg = Release|Win32
{B0D902FC-59B1-4041-BDE8-3A9963933175}.Release|x86.Build.0 = Release|Win32
{88A23124-5640-35A0-B890-311D7A67A7D2}.Debug|x64.ActiveCfg = Debug MT|x64
{88A23124-5640-35A0-B890-311D7A67A7D2}.Debug|x64.Build.0 = Debug MT|x64
{88A23124-5640-35A0-B890-311D7A67A7D2}.Debug|x86.ActiveCfg = Debug MD|Win32
{88A23124-5640-35A0-B890-311D7A67A7D2}.Debug|x86.Build.0 = Debug MD|Win32
{88A23124-5640-35A0-B890-311D7A67A7D2}.Release|x64.ActiveCfg = Release MT|x64
{88A23124-5640-35A0-B890-311D7A67A7D2}.Release|x64.Build.0 = Release MT|x64
{88A23124-5640-35A0-B890-311D7A67A7D2}.Release|x86.ActiveCfg = Release MT DLL|Win32
{88A23124-5640-35A0-B890-311D7A67A7D2}.Release|x86.Build.0 = Release MT DLL|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
9 changes: 7 additions & 2 deletions kkpViewer.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>$(SolutionDir)/ImGui</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(SolutionDir)/ImGui;$(SolutionDir)/zydis/dependencies/zycore/include;$(SolutionDir)/zydis/include</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand All @@ -124,7 +124,7 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>$(SolutionDir)/ImGui</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(SolutionDir)/ImGui;$(SolutionDir)/zydis/dependencies/zycore/include;$(SolutionDir)/zydis/include</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down Expand Up @@ -156,6 +156,11 @@
<ClInclude Include="ImGui\imstb_truetype.h" />
<ClInclude Include="kkp.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="zydis\msvc\zydis\Zydis.vcxproj">
<Project>{88a23124-5640-35a0-b890-311d7a67a7d2}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
Loading

0 comments on commit 929ded9

Please sign in to comment.