In the 'Utils' menu, you will find the option 'Executable statistics'. This option calls up the 'pedump' utility and shows the results in the output window. Normally, the file displayed will be the executable of the current project. If there is no project defined, this option will prompt you for an executable file name.
To display statistics for an object file, use the 'File' and 'Open' options, then open an object file. Wedit will call pedump for the corresponding file. The other extensions recognized are 'OCX' for special VBASIC executables, and 'LIB' for library files. In the latter case, Wedit will display the symbols exported from the library.
The output of this utility for an object file is:
Summary of "COMMON.OBJ":
96549 bytes
Time stamp: Mon Feb 08
00:01:20 1999
Section Name Size
01 .text
13188
02 .data
13676
03 .bss
138
04 .debug$S
12044
05 .debug$T
7465
The
code section is traditionally called 'Text', even if its contents are not
anything that remotely resembles normal text. The uninitialized data section is
also called 'bss' for the same obscure historical reasons. The 'debug$S' and 'debug$T'
sections are the debug symbols and debug types information.