Skip to content

Commit

Permalink
exceptis code cleaner pass #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Execeptis#0001 committed Jul 15, 2022
1 parent bef0b77 commit ab4dd82
Show file tree
Hide file tree
Showing 10 changed files with 193 additions and 177 deletions.
7 changes: 7 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\KACE.sln",
"PreviewInSolutionExplorer": false
}
20 changes: 18 additions & 2 deletions KACE.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@
<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)'=='Debug|x64'">
<OutDir>.\builds</OutDir>
<IntDir>.\builds\$(Platform)\$(Configuration)\</IntDir>
<LibraryPath>.\dependanices;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>.\builds</OutDir>
<IntDir>.\builds\$(Platform)\$(Configuration)\</IntDir>
<LibraryPath>.\dependanices;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
Expand Down Expand Up @@ -102,12 +112,15 @@
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp20</LanguageStandard>
<LanguageStandard_C>stdc17</LanguageStandard_C>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>LIEF.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand All @@ -116,15 +129,18 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<LanguageStandard>stdcpp20</LanguageStandard>
<LanguageStandard_C>stdc17</LanguageStandard_C>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>LIEF.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down
42 changes: 7 additions & 35 deletions KACE.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -1,42 +1,14 @@
<?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>
<Filter Include="Resource Files">
<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>
</Filter>
<ClInclude Include="memory_layout.h" />
<ClInclude Include="nmd.h" />
<ClInclude Include="nt_define.h" />
<ClInclude Include="ntoskrnl_provider.h" />
<ClInclude Include="ntoskrnl_struct.h" />
<ClInclude Include="static_export_provider.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="kace.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="ntoskrnl_struct.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="memory_layout.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="ntoskrnl_provider.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="nt_define.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="nmd.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="static_export_provider.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClCompile Include="kace.cpp" />
</ItemGroup>
</Project>
Binary file added builds/KACE.exp
Binary file not shown.
Binary file added builds/x64/Debug/vc143.idb
Binary file not shown.
Binary file added dependanices/LIEF.dll
Binary file not shown.
14 changes: 14 additions & 0 deletions dependanices/pkgconfig/LIEF.pc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
prefix="C:/Program Files (x86)/LIEF"
exec_prefix="${prefix}"
libdir="${prefix}/lib"
includedir="${prefix}/include"

Name: LIEF
Description: Library to Instrument Executable Formats
URL: https://github.com/lief-project/LIEF
Version: 0.12.1
Requires:
Requires.private:
Cflags: -I"${includedir}"
Libs: -L"${libdir}" -lLIEF
Libs.private: -L"${libdir}" -lLIEF
Loading

0 comments on commit ab4dd82

Please sign in to comment.