Produces an assembly language listing of files.
dis [ -a ] [ -A address ] [ -b ] [ -c count ] [ -d section ] [ -D section ] [ -F function ] [ -l string ] [ -L ] [ -o ] [ -s ] [ -t section ] [ -V ] [ -w size ] files...
The dis command produces an assembly language listing of files, which may be object files or archives of object files. The listing includes assembly statements and an octal or hexadecimal representation of the binary that produced those statements.
On output, a number enclosed in brackets at the beginning of a line, such as [5], indicates that the break-pointable line number starts with the following instruction. These line numbers are printed only if the file is compiled with additional debugging information (for example, the -g flag of the cc command).
An expression, such as <0x1560> after the operand in the symbolic disassembly (-s flag) of control transfer instructions, is the computed address to which control is transferred.
If the object file contains a symbol table, the first column will contain a function name followed by () or a label name followed by a : (colon character). If the file is compiled with additional DWARF2 debugging information, a function name appears in the following format: func_name()@dir_name/file_name.
The -d, -D, -F, -l, and -t flags may be specified multiple times.
The self-explanatory diagnostics indicate errors in the command line or problems encountered with the specified files.
Notes:
- If the -A, -d, -D, -F, or -t flags are specified, only those named sections (or functions) from each user-supplied file name is disassembled. Otherwise, all sections containing executable machine instructions are disassembled.
- If the -A, -c, or -w flags are specified multiple times on the command line, only the last value is processed.
LIBDIR | usually /usr/ccs/lib |
The XCOFF object file format.