Linux command for showing the segments of a program
Hi,
Could you tell me the Linux command for showing the different segments of a program. The output of the command should show me which elements go to stack, heap, and data segments. |
Have a look at the man page for readelf.
|
Code:
$ readelf.exe -a test_structure.o I got the error like this when i gave the object file as input to readelf command. (I am running the linux command using Cygwin in Windows). |
If it was created with Cygwin, it won't be a Linux object file. Have a look at the man page for objdump, see if that works. Can't think of anything else.
|
All times are GMT -5. The time now is 05:51 AM. |