This commit is contained in:
Gray
2025-07-18 18:40:13 -04:00
parent 8f0ce8919e
commit 62ffdccd42
15 changed files with 292 additions and 82 deletions

7
vendor/memcury.h vendored
View File

@@ -853,6 +853,13 @@
if (rdataSection.isInSection(stringAdd))
{
auto strBytes = stringAdd.GetAs<std::uint8_t*>();
auto pointerToRef = *(LPVOID*)strBytes;
if (rdataSection.isInSection(pointerToRef)) // Credit: Ender
{
strBytes = (std::uint8_t*)pointerToRef;
stringAdd = PE::Address(pointerToRef);
}
// Check if the first char is printable
if (ASM::byteIsAscii(strBytes[0]))