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:
keowu
2025-11-05 16:57:44 -03:00
parent 14237e0b34
commit b50f2cebc1
3 changed files with 21 additions and 8 deletions

View File

@@ -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 };