feat: Add Test Binary into Ryujin Solution, Test Binary Code improvements and Output configs
- Now DemoObfuscation for TestBinary is part of Ryujin main Solution and able to compile together. - Some code typos was fixed into DemoObfuscation. - Output solution paths configs fix and more.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.13.35931.197
|
||||
# Visual Studio Version 18
|
||||
VisualStudioVersion = 18.0.11116.177 d18.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RyujinConsole", "RyujinConsole\RyujinConsole.vcxproj", "{1DC1BB2C-6B3E-4084-8F26-76852C709BB4}"
|
||||
EndProject
|
||||
@@ -9,6 +9,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RyujinCore", "..\RyujinCore
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RyujinGUI", "..\RyujinGUI\RyujinGUI.vcxproj", "{04712D9F-1C08-4605-B938-1EC74F2B0ACF}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DemoObfuscation", "..\TestsBinary\DemoObfuscation\DemoObfuscation.vcxproj", "{F2E6C074-BAE1-4A18-A22A-1785965204AE}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x64 = Debug|x64
|
||||
@@ -41,6 +43,14 @@ Global
|
||||
{04712D9F-1C08-4605-B938-1EC74F2B0ACF}.Release|x64.Build.0 = Release|x64
|
||||
{04712D9F-1C08-4605-B938-1EC74F2B0ACF}.Release|x86.ActiveCfg = Release|Win32
|
||||
{04712D9F-1C08-4605-B938-1EC74F2B0ACF}.Release|x86.Build.0 = Release|Win32
|
||||
{F2E6C074-BAE1-4A18-A22A-1785965204AE}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{F2E6C074-BAE1-4A18-A22A-1785965204AE}.Debug|x64.Build.0 = Debug|x64
|
||||
{F2E6C074-BAE1-4A18-A22A-1785965204AE}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{F2E6C074-BAE1-4A18-A22A-1785965204AE}.Debug|x86.Build.0 = Debug|Win32
|
||||
{F2E6C074-BAE1-4A18-A22A-1785965204AE}.Release|x64.ActiveCfg = Release|x64
|
||||
{F2E6C074-BAE1-4A18-A22A-1785965204AE}.Release|x64.Build.0 = Release|x64
|
||||
{F2E6C074-BAE1-4A18-A22A-1785965204AE}.Release|x86.ActiveCfg = Release|Win32
|
||||
{F2E6C074-BAE1-4A18-A22A-1785965204AE}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -199,17 +199,17 @@ uint32_t mba_encrypt32(uint32_t v, uint32_t key) {
|
||||
}
|
||||
|
||||
// Normal - Non MBA
|
||||
uint32_t mba_sum(uint32_t n20) {
|
||||
uint32_t sum(uint32_t n20) {
|
||||
|
||||
return n20 + 10;
|
||||
}
|
||||
|
||||
uint32_t mba_sub(uint32_t n10) {
|
||||
uint32_t sub(uint32_t n10) {
|
||||
|
||||
return 20 - n10;
|
||||
}
|
||||
|
||||
uint32_t mba_subadd(uint32_t n400) {
|
||||
uint32_t subadd(uint32_t n400) {
|
||||
|
||||
return n400 + 8;
|
||||
}
|
||||
@@ -221,12 +221,12 @@ int main(int argc, const char** argv, const char** envp) {
|
||||
std::printf("Hello World..\n");
|
||||
std::printf("Xdxd..\n");
|
||||
|
||||
auto v3 = mba_sum(20);
|
||||
auto v3 = sum(20);
|
||||
std::printf("%x\n", v3);
|
||||
|
||||
auto v4 = mba_sub(10);
|
||||
auto v4 = sub(10);
|
||||
|
||||
auto v5 = mba_subadd(400);
|
||||
auto v5 = subadd(400);
|
||||
std::printf("%x\n", v5);
|
||||
|
||||
char username[256]{ 0 };
|
||||
|
||||
@@ -70,6 +70,9 @@
|
||||
<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'">
|
||||
<OutDir>..\..\Compiled\release</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
|
||||
Reference in New Issue
Block a user