Skip to content

Commit 6d64536

Browse files
authored
fix: Qemu ACPI firmware string check logic is backwards (#300)
Co-authored-by: Ayoub Faouzi <ayoubfaouzi@users.noreply.github.com>
1 parent bcff497 commit 6d64536

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)