Commit a2f98478 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedump: Better align fields in EXPORT table.

parent 24bc422c
...@@ -697,9 +697,9 @@ static void dump_dir_exported_functions(void) ...@@ -697,9 +697,9 @@ static void dump_dir_exported_functions(void)
printf(" Ordinal base: %u\n", (UINT)dir->Base); printf(" Ordinal base: %u\n", (UINT)dir->Base);
printf(" # of functions: %u\n", (UINT)dir->NumberOfFunctions); printf(" # of functions: %u\n", (UINT)dir->NumberOfFunctions);
printf(" # of Names: %u\n", (UINT)dir->NumberOfNames); printf(" # of Names: %u\n", (UINT)dir->NumberOfNames);
printf("Addresses of functions: %08X\n", (UINT)dir->AddressOfFunctions); printf(" Functions RVA: %08X\n", (UINT)dir->AddressOfFunctions);
printf("Addresses of name ordinals: %08X\n", (UINT)dir->AddressOfNameOrdinals); printf(" Ordinals RVA: %08X\n", (UINT)dir->AddressOfNameOrdinals);
printf("Addresses of names: %08X\n", (UINT)dir->AddressOfNames); printf(" Names RVA: %08X\n", (UINT)dir->AddressOfNames);
printf("\n"); printf("\n");
printf(" Entry Pt Ordn Name\n"); printf(" Entry Pt Ordn Name\n");
...@@ -716,7 +716,7 @@ static void dump_dir_exported_functions(void) ...@@ -716,7 +716,7 @@ static void dump_dir_exported_functions(void)
for (i = 0; i < dir->NumberOfFunctions; i++) for (i = 0; i < dir->NumberOfFunctions; i++)
{ {
if (!pFunc[i]) continue; if (!pFunc[i]) continue;
printf(" %08X %5u ", pFunc[i], (UINT)dir->Base + i); printf(" %08X %5u ", pFunc[i], (UINT)dir->Base + i);
if (funcs[i]) if (funcs[i])
printf("%s", get_symbol_str((const char*)RVA(funcs[i], sizeof(DWORD)))); printf("%s", get_symbol_str((const char*)RVA(funcs[i], sizeof(DWORD))));
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment