diff --git a/hyperdbg/hyperevade/code/SyscallFootprints.c b/hyperdbg/hyperevade/code/SyscallFootprints.c index 68147df4..75305a82 100644 --- a/hyperdbg/hyperevade/code/SyscallFootprints.c +++ b/hyperdbg/hyperevade/code/SyscallFootprints.c @@ -1354,12 +1354,12 @@ TransparentReplaceVendorStringFromBufferWChar(SYSCALL_CALLBACK_CONTEXT_PARAMS * // // Obtain the lengths of all the strings and substring // - ULONG tempSize = (ULONG)wcslen(NewVendorString) * sizeof(WCHAR); + ULONG TempSize = (ULONG)wcslen(NewVendorString) * sizeof(WCHAR); ULONG MatchedStringLen = (ULONG)wcslen(HV_REGKEYS[i]) * sizeof(WCHAR); - ULONG oldLength = *((PBYTE)Buf + DataLenOffset); + ULONG OldLength = *((PBYTE)Buf + DataLenOffset); - ULONG NewStringSize = oldLength - MatchedStringLen + tempSize; + ULONG NewStringSize = OldLength - MatchedStringLen + TempSize; // // Check if the buffer size allows the modification, in case of expansion diff --git a/hyperdbg/hypertrace/code/lbr/Lbr.c b/hyperdbg/hypertrace/code/lbr/Lbr.c index 471654d4..de3d8c99 100644 --- a/hyperdbg/hypertrace/code/lbr/Lbr.c +++ b/hyperdbg/hypertrace/code/lbr/Lbr.c @@ -85,7 +85,7 @@ CPU_LBR_MAP CPU_LBR_MAPS[] = { BOOLEAN LbrCheckAndReadArchitecturalLbrDetails() { - ULONG A, B, C, D; + ULONG a, b, c, d; CPUID_EAX_07 Edx07 = {0}; @@ -97,9 +97,9 @@ LbrCheckAndReadArchitecturalLbrDetails() // Check for Architectural LBR support // // - xcpuidex(CPUID_STRUCTURED_EXTENDED_FEATURE_FLAGS, 0x00, &A, &B, &C, &D); + xcpuidex(CPUID_STRUCTURED_EXTENDED_FEATURE_FLAGS, 0x00, &a, &b, &c, &d); - Edx07.Edx.AsUInt = D; + Edx07.Edx.AsUInt = d; // // CPUID.07H.00H:EDX[19] == 1 means arch LBR is supported @@ -121,7 +121,7 @@ LbrCheckAndReadArchitecturalLbrDetails() // // Being here means the CPU supports architectural LBR, we can read the LBR capabilities from CPUID 0x1c leaf // - xcpuidex(CPUID_ARCH_LAST_BRANCH_RECORD_INFORMATION, 0x00, &A, &B, &C, &D); + xcpuidex(CPUID_ARCH_LAST_BRANCH_RECORD_INFORMATION, 0x00, &a, &b, &c, &d); // // Assign LBR leafs to structure for easier access diff --git a/hyperdbg/script-engine/code/common.c b/hyperdbg/script-engine/code/common.c index 7bb9440c..33118985 100644 --- a/hyperdbg/script-engine/code/common.c +++ b/hyperdbg/script-engine/code/common.c @@ -687,9 +687,9 @@ NewTemp(PSCRIPT_ENGINE_ERROR_TYPE Error) * @brief Frees the memory allocated by Temp * * @param Temp the token representing the temporary variable - * @return void + * @return VOID */ -void +VOID FreeTemp(PSCRIPT_ENGINE_TOKEN Temp) { INT Id = (INT)DecimalToInt(Temp->Value);