Made virus warning a bit more drastic, since some people don't believe us.

This commit is contained in:
Marcus Meissner 2000-01-05 01:47:30 +00:00 committed by Alexandre Julliard
parent 7547d4defa
commit 59db20fbc1

View file

@ -554,9 +554,9 @@ HMODULE PE_LoadImage( HANDLE hFile, LPCSTR filename, WORD *version )
/* Check entrypoint address */ /* Check entrypoint address */
aoep = nt->OptionalHeader.AddressOfEntryPoint; aoep = nt->OptionalHeader.AddressOfEntryPoint;
if (aoep && (aoep < lowest_va)) if (aoep && (aoep < lowest_va))
FIXME("WARNING: '%s' has an invalid entrypoint (0x%08lx) " FIXME("VIRUS WARNING: '%s' has an invalid entrypoint (0x%08lx) "
"below the first virtual address (0x%08x) " "below the first virtual address (0x%08x) "
"(possible Virus Infection or broken binary)!\n", "(possibly infected by Tchernobyl/SpaceFiller virus)!\n",
filename, aoep, lowest_va ); filename, aoep, lowest_va );