From: <kai...@us...> - 2009-01-29 12:26:49
|
Revision: 303 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=303&view=rev Author: kaiwang27 Date: 2009-01-29 12:26:41 +0000 (Thu, 29 Jan 2009) Log Message: ----------- Style(9) nits. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-03-24 23:12:53
|
Revision: 323 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=323&view=rev Author: kaiwang27 Date: 2009-03-24 23:12:48 +0000 (Tue, 24 Mar 2009) Log Message: ----------- - Use warnx instead of errx if possible, i.e., we should always proceed when the function failure is not that fatal. - Remove unneeded global var strtab and dynstr. We can always get the string table from the sh_link field of the refering section. - Make functions and constant static. - Style nits. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-03-24 23:25:25
|
Revision: 324 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=324&view=rev Author: kaiwang27 Date: 2009-03-24 23:25:22 +0000 (Tue, 24 Mar 2009) Log Message: ----------- Document the places where explicit call to gelf_xlatetom is needed. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-03-25 02:27:55
|
Revision: 325 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=325&view=rev Author: kaiwang27 Date: 2009-03-25 02:27:51 +0000 (Wed, 25 Mar 2009) Log Message: ----------- Descriptor in the .note.ABI-tag section should be translated according to the endianess of the ELF object. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-03-29 02:35:27
|
Revision: 328 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=328&view=rev Author: kaiwang27 Date: 2009-03-29 02:35:17 +0000 (Sun, 29 Mar 2009) Log Message: ----------- Added option -S. When option -S is specified, elfdump(1) will run in a mode emulating the Solaris elfdump. In this mode, elfdump(1) will give additional explanation about the data in the ELF object. Output format is changed also. For example, when -S and -r are both specified, the symbol name refered by each reloc entry will be dumped. When -S and -G are both specified, relocation entries that are refering to .got entry willl be printed. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-03-29 14:01:07
|
Revision: 330 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=330&view=rev Author: kaiwang27 Date: 2009-03-29 13:40:41 +0000 (Sun, 29 Mar 2009) Log Message: ----------- Implement -S for .hash dump. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-03-30 23:03:37
|
Revision: 331 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=331&view=rev Author: kaiwang27 Date: 2009-03-30 23:03:26 +0000 (Mon, 30 Mar 2009) Log Message: ----------- Added option -v: dump symbol-versioning sections. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-03-31 02:33:44
|
Revision: 332 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=332&view=rev Author: kaiwang27 Date: 2009-03-31 02:33:39 +0000 (Tue, 31 Mar 2009) Log Message: ----------- Make -S work with -v. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-01 02:11:27
|
Revision: 333 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=333&view=rev Author: kaiwang27 Date: 2009-04-01 02:11:24 +0000 (Wed, 01 Apr 2009) Log Message: ----------- Implement -S combined with -s. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-01 19:31:43
|
Revision: 335 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=335&view=rev Author: kaiwang27 Date: 2009-04-01 19:31:41 +0000 (Wed, 01 Apr 2009) Log Message: ----------- - Added option -N: match a spcified section name. - Added support for dump archive symbol table. (WIP) Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-01 22:12:17
|
Revision: 336 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=336&view=rev Author: kaiwang27 Date: 2009-04-01 22:12:16 +0000 (Wed, 01 Apr 2009) Log Message: ----------- Implement dumping of archive symbol table (via libarchive). It is possible to use '-N ARSYM' to exlicitly specify the archive symbol table, same as Solaris elfdump. For example: %elfdump -s libelf.a # dump arsym and the symbol table of each member. %elfdump -s -N ARSYM libelf.a # only dump arsym. ar(1) archive processing with libelf will be implemented later. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-04 01:04:00
|
Revision: 338 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=338&view=rev Author: kaiwang27 Date: 2009-04-04 01:03:59 +0000 (Sat, 04 Apr 2009) Log Message: ----------- Consider malloc/calloc failures fatal. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-04 01:23:09
|
Revision: 339 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=339&view=rev Author: kaiwang27 Date: 2009-04-04 01:23:06 +0000 (Sat, 04 Apr 2009) Log Message: ----------- Document the limitation of processing archive symbol table via libarchive. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-04 01:27:20
|
Revision: 340 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=340&view=rev Author: kaiwang27 Date: 2009-04-04 01:27:18 +0000 (Sat, 04 Apr 2009) Log Message: ----------- Removed unneeded flag SECTION_LOADED. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-04 17:17:44
|
Revision: 344 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=344&view=rev Author: kaiwang27 Date: 2009-04-04 17:17:28 +0000 (Sat, 04 Apr 2009) Log Message: ----------- Add support for .gnu.hash section. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-07 02:44:33
|
Revision: 346 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=346&view=rev Author: kaiwang27 Date: 2009-04-07 02:44:23 +0000 (Tue, 07 Apr 2009) Log Message: ----------- In load_sections, if elf_ndxscn returns SHN_UNDEF, we should skip that section only when elf_ndxscn indeed failed, otherwise we will mistakenly skip the first section, since it has index SHN_UNDEF. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 11:43:16
|
Revision: 350 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=350&view=rev Author: kaiwang27 Date: 2009-04-10 11:43:05 +0000 (Fri, 10 Apr 2009) Log Message: ----------- Print r_info in hexadecimal, which is more intuitional. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 13:28:58
|
Revision: 351 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=351&view=rev Author: kaiwang27 Date: 2009-04-10 13:28:48 +0000 (Fri, 10 Apr 2009) Log Message: ----------- Print p_align in hexadecimal when -S is specified. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 13:46:59
|
Revision: 353 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=353&view=rev Author: kaiwang27 Date: 2009-04-10 13:46:49 +0000 (Fri, 10 Apr 2009) Log Message: ----------- s/sh_types/sh_type Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 13:57:12
|
Revision: 354 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=354&view=rev Author: kaiwang27 Date: 2009-04-10 13:57:09 +0000 (Fri, 10 Apr 2009) Log Message: ----------- When sh_flags == 0, output 0 instead of "[ ]". Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 14:19:24
|
Revision: 357 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=357&view=rev Author: kaiwang27 Date: 2009-04-10 14:19:22 +0000 (Fri, 10 Apr 2009) Log Message: ----------- Style. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 14:22:14
|
Revision: 352 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=352&view=rev Author: kaiwang27 Date: 2009-04-10 13:39:30 +0000 (Fri, 10 Apr 2009) Log Message: ----------- Output format adjustment for -r. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 16:57:32
|
Revision: 358 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=358&view=rev Author: kaiwang27 Date: 2009-04-10 16:57:30 +0000 (Fri, 10 Apr 2009) Log Message: ----------- If the ELF object is ELFCLASS32, Convert r_info of GElf_Rel/GElf_Rela back to 32bit before printing. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 18:59:12
|
Revision: 359 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=359&view=rev Author: kaiwang27 Date: 2009-04-10 18:59:04 +0000 (Fri, 10 Apr 2009) Log Message: ----------- - Adjust the output format of ehdr, phdr and symtab. - Output more DT_xxx entries. Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kai...@us...> - 2009-04-10 19:40:19
|
Revision: 362 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=362&view=rev Author: kaiwang27 Date: 2009-04-10 19:40:16 +0000 (Fri, 10 Apr 2009) Log Message: ----------- When dumping symbol table, if shndx is out of range, say greater than or equal to shnum, in order to be more informative, print the shdnx number as section name instead of "UNKNOWN". Modified Paths: -------------- projects/elfdump/trunk/elfdump.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |