|
|
@ -33,10 +33,9 @@ reloc_t inline_jmp_branch
|
|
|
|
*reinterpret_cast<std::int32_t*>(rva_fix_addr)
|
|
|
|
*reinterpret_cast<std::int32_t*>(rva_fix_addr)
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
std::printf(" > fixing JCC rva...\n");
|
|
|
|
std::printf("> fixing JCC rva...\n");
|
|
|
|
std::printf(" > new rva = 0x%x\n", JMP_RIP_SIZE);
|
|
|
|
std::printf("> new rva = 0x%x\n", JMP_RIP_SIZE);
|
|
|
|
std::printf(" > old rva = 0x%x\n",
|
|
|
|
std::printf("> old rva = 0x%x\n", *reinterpret_cast<std::int32_t*>(rva_fix_addr));
|
|
|
|
*reinterpret_cast<std::int32_t*>(rva_fix_addr));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// when you inherit obfuscate please be mindful of JCC rvas...
|
|
|
|
// when you inherit obfuscate please be mindful of JCC rvas...
|
|
|
|
*reinterpret_cast<std::int32_t*>(rva_fix_addr) = JMP_RIP_SIZE;
|
|
|
|
*reinterpret_cast<std::int32_t*>(rva_fix_addr) = JMP_RIP_SIZE;
|
|
|
|