added cli-parser and demo project...

2.0
_xeroxz 3 years ago
parent 488652c2fe
commit 5246236cd3

3
.gitmodules vendored

@ -7,3 +7,6 @@
[submodule "dependencies/xed"] [submodule "dependencies/xed"]
path = dependencies/xed path = dependencies/xed
url = https://github.com/intelxed/xed.git url = https://github.com/intelxed/xed.git
[submodule "dependencies/cli-parser"]
path = dependencies/cli-parser
url = https://githacks.org/_xeroxz/cli-parser.git

@ -0,0 +1 @@
Subproject commit 1aedaf8bb7f383f54b7cd498767611535526da85

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{934a746a-6706-4d7b-8e20-8d876dfc9bcf}</ProjectGuid>
<RootNamespace>demo</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>ClangCL</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp17</LanguageStandard>
<Optimization>Disabled</Optimization>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="main.cpp" />
<ClCompile Include="module.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="module.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="module.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="module.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

@ -0,0 +1,9 @@
#include "module.h"
#include <iostream>
inline double g_version = 1.0;
int main()
{
std::printf( "> g_version = %f, get_version = %f\n", g_version, get_version() );
}

@ -0,0 +1,8 @@
#include "module.h"
inline double g_version = 2.0;
double get_version()
{
return g_version;
}

@ -0,0 +1,2 @@
#pragma once
double get_version();

@ -0,0 +1,49 @@
#define _CRT_SECURE_NO_WARNINGS
#include <cli-parser.hpp>
#include <coff/archive.hpp>
#include <coff/image.hpp>
#include <xtils.hpp>
int __cdecl main( int argc, const char *argv[] )
{
argparse::argument_parser_t cli_parser( "theodosis.exe", "Theodosis v2.0" );
cli_parser.add_argument().names( { "-i", "--input" } ).description( ".lib file path..." ).required( "true" );
cli_parser.enable_help();
auto err = cli_parser.parse( argc, argv );
const auto umtils = xtils::um_t::get_instance();
if ( err )
{
std::cout << err << std::endl;
return -1;
}
if ( cli_parser.exists( "help" ) )
{
cli_parser.print_help();
return 0;
}
std::vector< std::uint8_t > lib;
umtils->open_binary_file( cli_parser.get< std::string >( "i" ), lib );
ar::view lib_view( lib.data(), lib.size() );
const auto &symbol_map = lib_view.read_symbols();
for ( auto itr = lib_view.begin(); itr != lib_view.end(); ++itr )
{
std::printf( "> itr->to_string = %s\n", itr->to_string( lib_view.string_table ).data() );
auto coff_img = reinterpret_cast< coff::image_t * >( itr->data() );
std::printf( "> number of sections = %d\n", coff_img->file_header.num_sections );
for ( auto idx = 0u; idx < coff_img->file_header.num_sections; ++idx )
{
if ( coff_img->get_section( idx )->is_discardable() )
continue;
std::printf( "> section name = %s\n",
coff_img->get_section( idx )->name.to_string( coff_img->get_strings() ).data() );
}
}
}

@ -5,16 +5,27 @@ VisualStudioVersion = 16.0.31321.278
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "theodosius", "theodosius.vcxproj", "{43FB71D4-D87D-4639-A906-14B5797DB1B0}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "theodosius", "theodosius.vcxproj", "{43FB71D4-D87D-4639-A906-14B5797DB1B0}"
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "demo", "examples\demo\demo.vcxproj", "{934A746A-6706-4D7B-8E20-8D876DFC9BCF}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64 Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64 Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{43FB71D4-D87D-4639-A906-14B5797DB1B0}.Debug|x64.ActiveCfg = Debug|x64 {43FB71D4-D87D-4639-A906-14B5797DB1B0}.Debug|x64.ActiveCfg = Debug|x64
{43FB71D4-D87D-4639-A906-14B5797DB1B0}.Debug|x64.Build.0 = Debug|x64 {43FB71D4-D87D-4639-A906-14B5797DB1B0}.Debug|x64.Build.0 = Debug|x64
{43FB71D4-D87D-4639-A906-14B5797DB1B0}.Debug|x86.ActiveCfg = Debug|x64
{43FB71D4-D87D-4639-A906-14B5797DB1B0}.Release|x64.ActiveCfg = Release|x64 {43FB71D4-D87D-4639-A906-14B5797DB1B0}.Release|x64.ActiveCfg = Release|x64
{43FB71D4-D87D-4639-A906-14B5797DB1B0}.Release|x64.Build.0 = Release|x64 {43FB71D4-D87D-4639-A906-14B5797DB1B0}.Release|x64.Build.0 = Release|x64
{43FB71D4-D87D-4639-A906-14B5797DB1B0}.Release|x86.ActiveCfg = Release|x64
{934A746A-6706-4D7B-8E20-8D876DFC9BCF}.Debug|x64.ActiveCfg = Release|x64
{934A746A-6706-4D7B-8E20-8D876DFC9BCF}.Debug|x86.ActiveCfg = Release|x64
{934A746A-6706-4D7B-8E20-8D876DFC9BCF}.Release|x64.ActiveCfg = Release|x64
{934A746A-6706-4D7B-8E20-8D876DFC9BCF}.Release|x64.Build.0 = Release|x64
{934A746A-6706-4D7B-8E20-8D876DFC9BCF}.Release|x86.ActiveCfg = Release|x64
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

@ -14,7 +14,78 @@
<ClCompile Include="src\main.cpp" /> <ClCompile Include="src\main.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include=".gitignore" /> <None Include=".clang-format" />
<None Include="dependencies\linux-pe\includes\linuxpe" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="dependencies\linux-pe\includes\coff\archive.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_file_name.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_function.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_function_delimiter.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_section.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_weak_external.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\file_header.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\image.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\import_library.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\line_number.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\reloc.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\section_header.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\string.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\symbol.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\coff\uleb128.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\img_common.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\data_directories.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_debug.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_delay_load.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_exceptions.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_export.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_iat.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_import.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_load_config.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_relocs.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_resource.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_security.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_tls.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\image.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\nt_headers.hpp" />
<ClInclude Include="dependencies\linux-pe\includes\nt\optional_header.hpp" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-agen.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-attributes.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-chip-features.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-common-defs.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-common-hdrs.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-cpuid-rec.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-decode.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-decoded-inst-api.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-decoded-inst.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-disas.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-encode-check.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-encode-direct.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-encode.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-encoder-hl.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-flags.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-format-options.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-get-time.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-iform-map.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-ild.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-immdis.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-immed.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-init.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-inst.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-interface.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-isa-set.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-operand-action.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-operand-values-interface.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-patch.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-portability.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-print-info.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-reg-class.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-rep-prefix.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-state.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-types.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-util.h" />
<ClInclude Include="dependencies\xed\include\public\xed\xed-version.h" />
<ClInclude Include="dependencies\xtils\xtils.hpp" />
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion> <VCProjectVersion>16.0</VCProjectVersion>
@ -25,7 +96,7 @@
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType> <ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries> <UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset> <PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
@ -51,9 +122,11 @@
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental> <LinkIncremental>true</LinkIncremental>
<IncludePath>$(ProjectDir)dependencies\xtils;$(ProjectDir)dependencies\linux-pe\includes;$(ProjectDir)dependencies\xed\include\public\xed;$(ProjectDir)dependencies\cli-parser\;$(IncludePath)</IncludePath>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental> <LinkIncremental>false</LinkIncremental>
<IncludePath>$(ProjectDir)dependencies\xtils;$(ProjectDir)dependencies\linux-pe\includes;$(ProjectDir)dependencies\xed\include\public\xed;$(ProjectDir)dependencies\cli-parser\;$(IncludePath)</IncludePath>
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile> <ClCompile>
@ -61,11 +134,18 @@
<SDLCheck>true</SDLCheck> <SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode> <ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpplatest</LanguageStandard>
</ClCompile> </ClCompile>
<Link> <Link>
<SubSystem>Console</SubSystem> <SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
</Link> </Link>
<ProjectReference>
<LinkLibraryDependencies>true</LinkLibraryDependencies>
</ProjectReference>
<Lib>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
</Lib>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile> <ClCompile>
@ -75,6 +155,8 @@
<SDLCheck>true</SDLCheck> <SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode> <ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpplatest</LanguageStandard>
<EnableModules>true</EnableModules>
</ClCompile> </ClCompile>
<Link> <Link>
<SubSystem>Console</SubSystem> <SubSystem>Console</SubSystem>
@ -82,6 +164,12 @@
<OptimizeReferences>true</OptimizeReferences> <OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
</Link> </Link>
<ProjectReference>
<LinkLibraryDependencies>true</LinkLibraryDependencies>
</ProjectReference>
<Lib>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
</Lib>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets"> <ImportGroup Label="ExtensionTargets">

@ -13,6 +13,24 @@
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter> </Filter>
<Filter Include="Header Files\linux-pe">
<UniqueIdentifier>{c7926665-f94f-4aa7-8db6-04868b714961}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\linux-pe\nt">
<UniqueIdentifier>{9fa35ee0-9866-4ed9-996b-a32009ac1e6e}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\linux-pe\coff">
<UniqueIdentifier>{aa335741-7895-421e-8488-c2c52ff977af}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\linux-pe\nt\directories">
<UniqueIdentifier>{9c128039-3345-4362-aa51-ca73c9468e24}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\linux-pe\coff\auxiliaries">
<UniqueIdentifier>{f44c90d8-6a59-451a-8596-5bae5018d121}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\xed">
<UniqueIdentifier>{57f58b85-e562-44a1-a017-dd0237aa0d80}</UniqueIdentifier>
</Filter>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClCompile Include="src\main.cpp"> <ClCompile Include="src\main.cpp">
@ -20,8 +38,217 @@
</ClCompile> </ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include=".gitignore"> <None Include=".clang-format">
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</None> </None>
<None Include="dependencies\linux-pe\includes\linuxpe">
<Filter>Header Files\linux-pe</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClInclude Include="dependencies\linux-pe\includes\img_common.hpp">
<Filter>Header Files\linux-pe</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\data_directories.hpp">
<Filter>Header Files\linux-pe\nt</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\image.hpp">
<Filter>Header Files\linux-pe\nt</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\nt_headers.hpp">
<Filter>Header Files\linux-pe\nt</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\optional_header.hpp">
<Filter>Header Files\linux-pe\nt</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_debug.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_delay_load.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_exceptions.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_export.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_iat.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_import.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_load_config.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_relocs.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_resource.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_security.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\nt\directories\dir_tls.hpp">
<Filter>Header Files\linux-pe\nt\directories</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\archive.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\file_header.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\image.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\import_library.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\line_number.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\reloc.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\section_header.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\string.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\symbol.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\uleb128.hpp">
<Filter>Header Files\linux-pe\coff</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_file_name.hpp">
<Filter>Header Files\linux-pe\coff\auxiliaries</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_function.hpp">
<Filter>Header Files\linux-pe\coff\auxiliaries</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_function_delimiter.hpp">
<Filter>Header Files\linux-pe\coff\auxiliaries</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_section.hpp">
<Filter>Header Files\linux-pe\coff\auxiliaries</Filter>
</ClInclude>
<ClInclude Include="dependencies\linux-pe\includes\coff\auxiliaries\aux_weak_external.hpp">
<Filter>Header Files\linux-pe\coff\auxiliaries</Filter>
</ClInclude>
<ClInclude Include="dependencies\xtils\xtils.hpp">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-agen.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-attributes.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-chip-features.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-common-defs.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-common-hdrs.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-cpuid-rec.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-decode.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-decoded-inst.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-decoded-inst-api.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-disas.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-encode.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-encode-check.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-encode-direct.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-encoder-hl.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-flags.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-format-options.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-get-time.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-iform-map.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-ild.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-immdis.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-immed.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-init.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-inst.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-interface.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-isa-set.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-operand-action.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-operand-values-interface.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-patch.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-portability.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-print-info.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-reg-class.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-rep-prefix.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-state.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-types.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-util.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
<ClInclude Include="dependencies\xed\include\public\xed\xed-version.h">
<Filter>Header Files\xed</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
</Project> </Project>
Loading…
Cancel
Save