Skip to content

Commit

Permalink
align dump output
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Apr 10, 2024
1 parent 1371b0d commit d06d50c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ int dump(int argc, char **argv)
"COM Runtime descriptor"
};

printf("DataDirectory vaddr size section\n");
printf("DataDirectory vaddr size section\n");
printf("-------------------------------------------------------------------\n");

for (uint32_t i = 0; i < nt_hdr->OptionalHeader.NumberOfRvaAndSizes; i++)
Expand All @@ -159,7 +159,7 @@ int dump(int argc, char **argv)
}

printf(
"%-40s %8"PRIX32" %7"PRIu32" %s\n",
"%-40s %8"PRIX32" %7"PRIu32" %8.8s\n",
dirs[i],
nt_hdr->OptionalHeader.DataDirectory[i].VirtualAddress,
nt_hdr->OptionalHeader.DataDirectory[i].Size,
Expand Down

0 comments on commit d06d50c

Please sign in to comment.