https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c6730a4a876861d1f7f75…
commit c6730a4a876861d1f7f758063ce4d4679295d18d
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Mon Feb 22 14:30:22 2021 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Mon Feb 22 14:42:04 2021 +0100
[RSYM/x64] Allow binaries without symbol table
---
sdk/tools/rsym/rsym64.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/sdk/tools/rsym/rsym64.c b/sdk/tools/rsym/rsym64.c
index 8c3b0b3e85f..b7e3a665294 100644
--- a/sdk/tools/rsym/rsym64.c
+++ b/sdk/tools/rsym/rsym64.c
@@ -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;