Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
471 B

  1. BEGIN {
  2. write_header();
  3. last_section = "";
  4. }
  5. END {
  6. printf("\n");
  7. }
  8. {
  9. if ($1 != last_section)
  10. {
  11. last_offset = $2;
  12. printf("\n%63s", $0);
  13. }
  14. else
  15. {
  16. size = $2 - last_offset; # size of previous symbol
  17. printf(" %8d\n", size);
  18. printf("%63s", $0);
  19. }
  20. last_offset = $2;
  21. last_section = $1;
  22. }
  23. function write_header()
  24. {
  25. printf("%-12s", "Section");
  26. printf("%8s ", "Offset");
  27. printf("%-18s", "Module");
  28. printf(" %-25s", "Symbol");
  29. printf(" %8s", "Size");
  30. }