![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to type the Omega symbol Ω in unix shell script | NagaMurugesan | Shell Programming and Scripting | 1 | 05-15-2008 09:23 AM |
| How to view users in unix | jerome | UNIX for Dummies Questions & Answers | 6 | 06-09-2006 12:44 PM |
| no symbol table | Dom_Cyrus | High Level Programming | 2 | 01-31-2006 05:15 AM |
| @ symbol at UNIX prompt | san | HP-UX | 1 | 12-19-2005 08:42 PM |
| How to view ps and pdf file under unix | vicky20000 | UNIX for Dummies Questions & Answers | 2 | 01-08-2004 07:47 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
hi ,
How to view the contents of a "c" program symbol table information in unix. |
| Forum Sponsor | ||
|
|
|
|||
|
Here's an example of dumping the symbols from an object file (hello world in foo.c -> foo.o):
me@mine:~$ objdump -t foo.o foo.o: file format elf32-i386 SYMBOL TABLE: 00000000 l df *ABS* 00000000 foo.c 00000000 l d .text 00000000 .text 00000000 l d .data 00000000 .data 00000000 l d .bss 00000000 .bss 00000000 l d .rodata 00000000 .rodata 00000000 l d .note.GNU-stack 00000000 .note.GNU-stack 00000000 l d .comment 00000000 .comment 00000000 g F .text 00000026 main 00000000 *UND* 00000000 puts |
|||
| Google The UNIX and Linux Forums |