[SLUG] Code Information

2003-02-04 Thread Andy Eager
Thanks to everyone for this. Nice summary for search: objdump readelf size Andy -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug

Re: [SLUG] Code information

2003-02-04 Thread Dave Airlie
size is $ size /bin/ls textdata bss dec hex filename 652541108 872 67234 106a2 /bin/ls objdump -p will also give the same stuff as you've pointed out with the program header sections... the load r_x segment contains more than just the .text segment it also contai

Re: [SLUG] Code information

2003-02-04 Thread Ian Wienand
On Wed, Feb 05, 2003 at 02:54:20AM +, Dave Airlie wrote: > > oops I replied to Andy and no the list.. > > one word > > size huh? ianw@mingus:/bin$ readelf --segments ls Elf file type is EXEC (Executable file) Entry point 0x10001368 There are 6 program headers, starting at offset 52 Progr

Re: [SLUG] Code information

2003-02-04 Thread Dave Airlie
oops I replied to Andy and no the list.. one word size Dave. On Wed, 5 Feb 2003, Ian Wienand wrote: > On Wed, Feb 05, 2003 at 01:39:38PM +1100, Andy Eager wrote: > > Anyone know of a program that will tell me the code & static data > > segment sizes of an executable ? > > readelf --segments

Re: [SLUG] Code information

2003-02-04 Thread Ian Wienand
On Wed, Feb 05, 2003 at 01:39:38PM +1100, Andy Eager wrote: > Anyone know of a program that will tell me the code & static data > segment sizes of an executable ? readelf --segments [executable] MemSiz gives you the size of the segment in memory. -i [EMAIL PROTECTED] http://www.gelato.unsw.edu.

RE: [SLUG] Code information

2003-02-04 Thread Visser, Martin (Sydney)
e *: +61-2-9022-1670Mobile *: +61-411-254-513 Fax 7: +61-2-9022-1800 E-mail * : martin.visserAThp.com -Original Message- From: Andy Eager [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 February 2003 1:40 PM To: Slug list Subject: [SLUG] Code information Hi all, Anyone k

Re: [SLUG] Code information

2003-02-04 Thread Robert Collins
On Wed, 2003-02-05 at 13:39, Andy Eager wrote: > Hi all, > > Anyone know of a program that will tell me the code & static data > segment sizes of an executable ? > > (without running it and using ps) objdump comes to mind. Rob -- GPG key available at:

[SLUG] Code information

2003-02-04 Thread Andy Eager
Hi all, Anyone know of a program that will tell me the code & static data segment sizes of an executable ? (without running it and using ps) Thanks, Andy -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug