From: <jk...@us...> - 2010-10-18 15:35:05
|
Revision: 1240 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1240&view=rev Author: jkoshy Date: 2010-10-18 15:34:59 +0000 (Mon, 18 Oct 2010) Log Message: ----------- Only allow `elf_begin()` on regular files. Modified Paths: -------------- trunk/libelf/elf_begin.3 trunk/libelf/elf_begin.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2010-11-05 07:37:41
|
Revision: 1246 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1246&view=rev Author: jkoshy Date: 2010-11-05 07:37:35 +0000 (Fri, 05 Nov 2010) Log Message: ----------- Rename symbol `LIBELF_F_MALLOCED` as `LIBELF_F_DATA_MALLOCED`, in order to reflect its intended meaning more closely. Modified Paths: -------------- trunk/libelf/_libelf.h trunk/libelf/elf_data.c trunk/libelf/libelf_allocate.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2010-11-05 11:32:37
|
Revision: 1250 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1250&view=rev Author: jkoshy Date: 2010-11-05 11:32:30 +0000 (Fri, 05 Nov 2010) Log Message: ----------- Revert [1240]. There are cases where it is useful to allow `elf_begin(3)` on special files. For example, NetBSD exports its kernel symbol table using `/dev/ksyms`. Modified Paths: -------------- trunk/libelf/elf_begin.3 trunk/libelf/elf_begin.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-01-01 04:28:35
|
Revision: 1341 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1341&view=rev Author: jkoshy Date: 2011-01-01 04:28:29 +0000 (Sat, 01 Jan 2011) Log Message: ----------- Changes to support processing of BSD-flavor archives: * A new flag `LIBELF_F_AR_VARIANT_SVR4` signals an SVR4 style archive. * Use a union in place of the the `e_arhdr` field inside `struct Elf` descriptors, to track raw and translated ar(1) archive headers for an archive member. The `e_rawhdr` field of this union points to the raw archive header, while the `e_arhdr` field points to the translated header. A new flag `LIBELF_F_AR_HEADER` is used to keep track of whether a translated header is available. * Enhance `elf_next()` and `elf_rand()` to support the traversal of archives using BSD-style long file names. * Add support for BSD-flavor archives to `elf_getarhdr()`. * Add support for BSD-flavor archive symbol tables to `elf_getarsym()`. Rename the existing `_libelf_ar_process_symtab()` function to `_libelf_ar_process_svr4_symtab()`; create a new function `_libelf_ar_process_bsd_symtab()` for handling BSD-flavor symbol tables. * Bring a header comment upto-date. Code cleanups: * Move declarations related to archive handling to a separate file `_libelf_ar.h`. * Rename `_libelf_ar_get_name()` as `_libelf_ar_get_translated_name()`, and `_libelf_ar_get_string` to `_libelf_ar_get_raw_name()`, to better match their function. Other changes: * `elf_next.c`: remove an assertion that is not valid for BSD style archives. * `libelf_ar.c`: Change a few helper functions to use `const` parameters. * Update (c) years. Ticket: #12 Modified Paths: -------------- trunk/libelf/_libelf.h trunk/libelf/elf_getarhdr.c trunk/libelf/elf_getarsym.c trunk/libelf/elf_next.c trunk/libelf/libelf_allocate.c trunk/libelf/libelf_ar.c trunk/libelf/libelf_ar_util.c Added Paths: ----------- trunk/libelf/_libelf_ar.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-01-08 08:27:48
|
Revision: 1360 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1360&view=rev Author: jkoshy Date: 2011-01-08 08:27:41 +0000 (Sat, 08 Jan 2011) Log Message: ----------- Whitespace cleanup: remove trailing blank lines. Modified Paths: -------------- trunk/libelf/README.build trunk/libelf/_libelf_config.h trunk/libelf/elf_end.c trunk/libelf/elf_getarsym.c trunk/libelf/libelf_extended.c trunk/libelf/libelf_fsize.m4 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-07-28 04:35:59
|
Revision: 1677 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1677&view=rev Author: jkoshy Date: 2011-07-28 04:35:53 +0000 (Thu, 28 Jul 2011) Log Message: ----------- Remove superfluous version control strings. Modified Paths: -------------- trunk/libelf/libelf_ehdr.c trunk/libelf/libelf_phdr.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-07-28 04:36:40
|
Revision: 1678 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1678&view=rev Author: jkoshy Date: 2011-07-28 04:36:34 +0000 (Thu, 28 Jul 2011) Log Message: ----------- Correct whitespace errors and wrap long lines. Modified Paths: -------------- trunk/libelf/elf_end.c trunk/libelf/elf_next.c trunk/libelf/gelf_ehdr.c trunk/libelf/gelf_xlate.c trunk/libelf/libelf_ar_util.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-08-13 05:35:48
|
Revision: 1724 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1724&view=rev Author: jkoshy Date: 2011-08-13 05:35:42 +0000 (Sat, 13 Aug 2011) Log Message: ----------- Mark ELF types `ELF_T_VDEF` and `ELF_T_VNEED` as having variable-sized file representations. Submitted by: kaiwang27 & mstorsjo Ticket: #2 Modified Paths: -------------- trunk/libelf/libelf_fsize.m4 trunk/libelf/libelf_msize.m4 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-09-22 10:42:12
|
Revision: 1918 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1918&view=rev Author: jkoshy Date: 2011-09-22 10:42:06 +0000 (Thu, 22 Sep 2011) Log Message: ----------- * Sort and rename a few internal-use flags. * Add a flag tracking the use of `malloc()`ed memory for raw file data. Ticket: #296 Modified Paths: -------------- trunk/libelf/_libelf.h trunk/libelf/elf_begin.c trunk/libelf/elf_end.c trunk/libelf/elf_flag.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-09-23 08:04:44
|
Revision: 1922 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=1922&view=rev Author: jkoshy Date: 2011-09-23 08:04:33 +0000 (Fri, 23 Sep 2011) Log Message: ----------- Support the use of the ELF(3) API on pipes, sockets and character devices. Ticket: #296 Modified Paths: -------------- trunk/libelf/elf_begin.c trunk/libelf/elf_end.c trunk/libelf/elf_update.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Joseph K. <jk...@us...> - 2011-09-23 10:45:08
|
> Support the use of the ELF(3) API on pipes, sockets and character devices. The primary motivation for this change was to support operations on special devices such as "/dev/ksyms" (in FreeBSD and NetBSD). With this change though, most of our tools can work as filters. For example: % elfcopy --add-section .manual=elfcopy.1 /dev/stdin /dev/stdout < elfcopy \ > OUTPUT % readelf -S OUTPUT | grep manual [28] .manual PROGBITS 00000000 02abe3 001ab4 00 0 0 1 Regards, Koshy |
From: <jk...@us...> - 2011-10-23 09:07:06
|
Revision: 2032 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2032&view=rev Author: jkoshy Date: 2011-10-23 09:07:00 +0000 (Sun, 23 Oct 2011) Log Message: ----------- Add `$Id$` keywords to source files. Ticket: #348 Modified Paths: -------------- trunk/libelf/Version.map trunk/libelf/_libelf_ar.h trunk/libelf/_libelf_config.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-11-26 18:56:00
|
Revision: 2225 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2225&view=rev Author: jkoshy Date: 2011-11-26 18:55:54 +0000 (Sat, 26 Nov 2011) Log Message: ----------- Reduce the number of steps needed to port `libelf` to a new platform: use the `ELFTC_VCSID()` macro to record revision control information. Ticket: #367 Modified Paths: -------------- trunk/libelf/_libelf_config.h trunk/libelf/elf.c trunk/libelf/elf_begin.c trunk/libelf/elf_cntl.c trunk/libelf/elf_data.c trunk/libelf/elf_end.c trunk/libelf/elf_errmsg.c trunk/libelf/elf_errno.c trunk/libelf/elf_fill.c trunk/libelf/elf_flag.c trunk/libelf/elf_getarhdr.c trunk/libelf/elf_getarsym.c trunk/libelf/elf_getbase.c trunk/libelf/elf_getident.c trunk/libelf/elf_hash.c trunk/libelf/elf_kind.c trunk/libelf/elf_memory.c trunk/libelf/elf_next.c trunk/libelf/elf_phnum.c trunk/libelf/elf_rand.c trunk/libelf/elf_rawfile.c trunk/libelf/elf_scn.c trunk/libelf/elf_shnum.c trunk/libelf/elf_shstrndx.c trunk/libelf/elf_strptr.c trunk/libelf/elf_update.c trunk/libelf/elf_version.c trunk/libelf/gelf_cap.c trunk/libelf/gelf_checksum.c trunk/libelf/gelf_dyn.c trunk/libelf/gelf_ehdr.c trunk/libelf/gelf_fsize.c trunk/libelf/gelf_getclass.c trunk/libelf/gelf_move.c trunk/libelf/gelf_phdr.c trunk/libelf/gelf_rel.c trunk/libelf/gelf_rela.c trunk/libelf/gelf_shdr.c trunk/libelf/gelf_sym.c trunk/libelf/gelf_syminfo.c trunk/libelf/gelf_symshndx.c trunk/libelf/gelf_xlate.c trunk/libelf/libelf_align.c trunk/libelf/libelf_allocate.c trunk/libelf/libelf_ar.c trunk/libelf/libelf_ar_util.c trunk/libelf/libelf_checksum.c trunk/libelf/libelf_convert.m4 trunk/libelf/libelf_data.c trunk/libelf/libelf_ehdr.c trunk/libelf/libelf_extended.c trunk/libelf/libelf_fsize.m4 trunk/libelf/libelf_msize.m4 trunk/libelf/libelf_phdr.c trunk/libelf/libelf_shdr.c trunk/libelf/libelf_xlate.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-12-03 17:05:17
|
Revision: 2268 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2268&view=rev Author: jkoshy Date: 2011-12-03 17:05:11 +0000 (Sat, 03 Dec 2011) Log Message: ----------- Portability tweaks to `libelf`: * Use the POSIX header `<limits.h>` to bring in the `INT_MAX`, `INT_MIN` and `UINT_MAX` symbols. Ticket: #367 Modified Paths: -------------- trunk/libelf/gelf_cap.c trunk/libelf/gelf_dyn.c trunk/libelf/gelf_ehdr.c trunk/libelf/gelf_move.c trunk/libelf/gelf_phdr.c trunk/libelf/gelf_rel.c trunk/libelf/gelf_rela.c trunk/libelf/gelf_shdr.c trunk/libelf/gelf_sym.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-12-03 17:06:41
|
Revision: 2271 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2271&view=rev Author: jkoshy Date: 2011-12-03 17:06:35 +0000 (Sat, 03 Dec 2011) Log Message: ----------- Code cleanups in '''libelf''': explicity include the `<sys/param.h>` header instead of relying on its inclusion by `libelf.h`. Ticket: #367 Modified Paths: -------------- trunk/libelf/elf_strptr.c trunk/libelf/elf_update.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-12-03 17:07:37
|
Revision: 2272 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2272&view=rev Author: jkoshy Date: 2011-12-03 17:07:31 +0000 (Sat, 03 Dec 2011) Log Message: ----------- Code cleanups and portability related changes to '''libelf''': * Remove library-private fields from the public `Elf_Data` structure. Internally the library now works with structures of type `struct _Libelf_Data`; these structures contain embedded `Elf_Data` instances that are exported to the application. * Clean up the headers included by "libelf.h": * Remove the now-unnecessary `<sys/queue.h>`. * Replace `<sys/param.h>` with the POSIX header `<sys/types.h>`. Ticket: #367 Modified Paths: -------------- trunk/libelf/_libelf.h trunk/libelf/elf_data.c trunk/libelf/elf_flag.c trunk/libelf/elf_update.c trunk/libelf/gelf_cap.c trunk/libelf/gelf_dyn.c trunk/libelf/gelf_move.c trunk/libelf/gelf_rel.c trunk/libelf/gelf_rela.c trunk/libelf/gelf_sym.c trunk/libelf/gelf_syminfo.c trunk/libelf/gelf_symshndx.c trunk/libelf/libelf.h trunk/libelf/libelf_allocate.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-12-28 17:47:25
|
Revision: 2363 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2363&view=rev Author: jkoshy Date: 2011-12-28 17:47:19 +0000 (Wed, 28 Dec 2011) Log Message: ----------- Refactor '''libelf''': * Implement a helper function `_libelf_memory()` that allocates Elf descriptors for in-memory objects, optionally reporting parse errors to its caller. * Use this helper function to implement the `elf_memory()` API. Ticket: #367 Modified Paths: -------------- trunk/libelf/Makefile trunk/libelf/_libelf.h trunk/libelf/elf_memory.c Added Paths: ----------- trunk/libelf/libelf_memory.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-12-28 17:55:31
|
Revision: 2364 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2364&view=rev Author: jkoshy Date: 2011-12-28 17:55:25 +0000 (Wed, 28 Dec 2011) Log Message: ----------- Refactor '''libelf''': * Add a parameter to the `_libelf_open_object()` helper function, specifying whether object parsing errors should be reported to the caller. * Use the `_libelf_memory()` helper function added in changeset [2363]. Ticket: #367 Modified Paths: -------------- trunk/libelf/_libelf.h trunk/libelf/elf_begin.c trunk/libelf/libelf_open.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-12-29 04:36:51
|
Revision: 2365 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2365&view=rev Author: jkoshy Date: 2011-12-29 04:36:44 +0000 (Thu, 29 Dec 2011) Log Message: ----------- Refactor '''libelf''': * Add a `reporterror` parameter to the `_libelf_ar_open()` helper function for specifying whether a parse error is to be reported to the caller. * Trim redundant code in the implementation of `_libelf_memory()`. Ticket: #367 Modified Paths: -------------- trunk/libelf/_libelf.h trunk/libelf/libelf_ar_util.c trunk/libelf/libelf_memory.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2011-12-29 06:12:20
|
Revision: 2366 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2366&view=rev Author: jkoshy Date: 2011-12-29 06:12:14 +0000 (Thu, 29 Dec 2011) Log Message: ----------- Extend '''libelf''' with extension APIs `elf_open()` and `elf_openmemory()`. These APIs are similar to `elf_begin()` and `elf_memory()` respectively, except that they return an ELF descriptor of kind `ELF_K_NONE` instead of an error if the object being opened could not be parsed. Ticket(s): #364, #366 Modified Paths: -------------- trunk/libelf/Makefile trunk/libelf/libelf.h Added Paths: ----------- trunk/libelf/elf_open.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2013-01-11 02:03:56
|
Revision: 2884 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2884&view=rev Author: jkoshy Date: 2013-01-11 02:03:46 +0000 (Fri, 11 Jan 2013) Log Message: ----------- Fix typos in two `libelf` manual pages. Submitted by: mark-jn Ticket: #413 Modified Paths: -------------- trunk/libelf/elf.3 trunk/libelf/elf_flagdata.3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2014-03-17 08:51:52
|
Revision: 2988 http://sourceforge.net/p/elftoolchain/code/2988 Author: jkoshy Date: 2014-03-17 08:51:49 +0000 (Mon, 17 Mar 2014) Log Message: ----------- Improve the consistency of flag handling code in libelf: - Use an 'unsigned int' to record 'ar' flags. - Use 'unsigned int' for temporary variables in `elf_flagelf()` and `elf_flagscn()`. Ticket: #448 Modified Paths: -------------- trunk/libelf/elf_flag.c trunk/libelf/libelf.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2014-03-18 17:19:02
|
Revision: 2998 http://sourceforge.net/p/elftoolchain/code/2998 Author: jkoshy Date: 2014-03-18 17:19:00 +0000 (Tue, 18 Mar 2014) Log Message: ----------- Silence a few conversion related compiler warnings. Ticket: #448 Modified Paths: -------------- trunk/libelf/gelf_dyn.c trunk/libelf/gelf_move.c trunk/libelf/gelf_rel.c trunk/libelf/gelf_rela.c trunk/libelf/gelf_syminfo.c trunk/libelf/gelf_symshndx.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2014-03-22 06:43:24
|
Revision: 3002 http://sourceforge.net/p/elftoolchain/code/3002 Author: jkoshy Date: 2014-03-22 06:43:21 +0000 (Sat, 22 Mar 2014) Log Message: ----------- In libelf: Use unsigned char pointers and unsigned integer types, to avoid potential widening issues. Ticket: #448 Modified Paths: -------------- trunk/libelf/_libelf_ar.h trunk/libelf/libelf_ar_util.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jk...@us...> - 2014-03-22 07:43:12
|
Revision: 3003 http://sourceforge.net/p/elftoolchain/code/3003 Author: jkoshy Date: 2014-03-22 07:43:10 +0000 (Sat, 22 Mar 2014) Log Message: ----------- In libelf: fix warnings related to sign conversions. Modified Paths: -------------- trunk/libelf/libelf_checksum.c trunk/libelf/libelf_ehdr.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |