Skip to content

Commit 04f04e4

Browse files
committed
fix: Qemu ACPI firmware string check logic is backwards
1 parent 7e01b30 commit 04f04e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

al-khaser/AntiVM/Qemu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ BOOL qemu_firmware_ACPI()
179179

180180
for (DWORD j = 0; j < sizeof(strings) / sizeof(char*); j++)
181181
{
182-
if (!find_str_in_data((PBYTE)strings[j], strlen(strings[j]), table, tableSize))
182+
if (find_str_in_data((PBYTE)strings[j], strlen(strings[j]), table, tableSize))
183183
{
184184
free(table);
185185
result = TRUE;

0 commit comments

Comments
 (0)