Commit 6d06d3b9 authored by Alexandre Julliard's avatar Alexandre Julliard

Cosmetics.

parent fd5e811c
...@@ -273,7 +273,7 @@ static void dump_sections(void* addr, unsigned num_sect) ...@@ -273,7 +273,7 @@ static void dump_sections(void* addr, unsigned num_sect)
printf("Section Table\n"); printf("Section Table\n");
for (i = 0; i < num_sect; i++, sectHead++) for (i = 0; i < num_sect; i++, sectHead++)
{ {
printf(" %02d %-8s VirtSize: %-8lu VirtAddr: %-8lu 0x%08lx\n", printf(" %02d %-8.8s VirtSize: %-8lu VirtAddr: %-8lu 0x%08lx\n",
i + 1, sectHead->Name, sectHead->Misc.VirtualSize, sectHead->VirtualAddress, i + 1, sectHead->Name, sectHead->Misc.VirtualSize, sectHead->VirtualAddress,
sectHead->VirtualAddress); sectHead->VirtualAddress);
printf(" raw data offs: %-8lu raw data size: %-8lu\n", printf(" raw data offs: %-8lu raw data size: %-8lu\n",
...@@ -282,7 +282,7 @@ static void dump_sections(void* addr, unsigned num_sect) ...@@ -282,7 +282,7 @@ static void dump_sections(void* addr, unsigned num_sect)
sectHead->PointerToRelocations, sectHead->NumberOfRelocations); sectHead->PointerToRelocations, sectHead->NumberOfRelocations);
printf(" line # offs: %-8lu line #'s: %-8u\n", printf(" line # offs: %-8lu line #'s: %-8u\n",
sectHead->PointerToLinenumbers, sectHead->NumberOfLinenumbers); sectHead->PointerToLinenumbers, sectHead->NumberOfLinenumbers);
printf(" characteristics: 0x$%08lx\n", sectHead->Characteristics); printf(" characteristics: 0x%08lx\n", sectHead->Characteristics);
printf(" "); printf(" ");
#define X(b,s) if (sectHead->Characteristics & b) printf(s " ") #define X(b,s) if (sectHead->Characteristics & b) printf(s " ")
/* #define IMAGE_SCN_TYPE_REG 0x00000000 - Reserved */ /* #define IMAGE_SCN_TYPE_REG 0x00000000 - Reserved */
......
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