mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[RSYM/x64] Allow binaries without symbol table
This commit is contained in:
parent
4c930799f1
commit
c6730a4a87
1 changed files with 0 additions and 6 deletions
|
@ -769,12 +769,6 @@ ParsePEHeaders(PFILE_INFO File)
|
|||
+ sizeof(IMAGE_FILE_HEADER)
|
||||
+ File->FileHeader->SizeOfOptionalHeader;
|
||||
|
||||
if (!File->FileHeader->PointerToSymbolTable)
|
||||
{
|
||||
fprintf(stderr, "No symbol table.\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Create some shortcuts */
|
||||
File->ImageBase = File->OptionalHeader->ImageBase;
|
||||
File->Symbols = File->FilePtr + File->FileHeader->PointerToSymbolTable;
|
||||
|
|
Loading…
Reference in a new issue