Fix some comments

This commit is contained in:
Kevin Lange 2011-04-07 01:35:47 -05:00
parent d31d763058
commit 808e0306c3
1 changed files with 2 additions and 5 deletions

View File

@ -147,6 +147,7 @@ int main(int argc, char ** argv) {
}
}
/* Find the (hopefully two) string tables */
printf("\033[1mString Tables\033[0m\n");
uint32_t i = 0;
for (uint32_t x = 0; x < header->e_shentsize * header->e_shnum; x += header->e_shentsize) {
@ -162,6 +163,7 @@ int main(int argc, char ** argv) {
if (i == 5) break;
}
/* Read the section headers */
printf("\033[1mSection Headers\033[0m\n");
for (uint32_t x = 0; x < header->e_shentsize * header->e_shnum; x += header->e_shentsize) {
if (header->e_shoff + x > binary_size) {
@ -177,11 +179,6 @@ int main(int argc, char ** argv) {
}
}
/* Read the section headers */
return 0;
}