mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
readelf: Tweak section headers output column padding
This commit is contained in:
parent
1eccd78e3a
commit
81cbb2676e
1 changed files with 2 additions and 2 deletions
|
@ -397,10 +397,10 @@ int main(int argc, char** argv)
|
||||||
printf("There are no sections in this file.\n");
|
printf("There are no sections in this file.\n");
|
||||||
} else {
|
} else {
|
||||||
printf("Section Headers:\n");
|
printf("Section Headers:\n");
|
||||||
printf(" Name Type Address Offset Size Flags\n");
|
printf(" Name Type Address Offset Size Flags\n");
|
||||||
|
|
||||||
interpreter_image.for_each_section([](const ELF::Image::Section& section) {
|
interpreter_image.for_each_section([](const ELF::Image::Section& section) {
|
||||||
printf(" %-15s ", StringView(section.name()).to_string().characters());
|
printf(" %-19s ", StringView(section.name()).to_string().characters());
|
||||||
printf("%-15s ", object_section_header_type_to_string(section.type()));
|
printf("%-15s ", object_section_header_type_to_string(section.type()));
|
||||||
printf("%08x ", section.address());
|
printf("%08x ", section.address());
|
||||||
printf("%08x ", section.offset());
|
printf("%08x ", section.offset());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue