| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
- Make sure to set an error code when trying to obtain a data descriptor for
a section of type SHT_NULL.
- Update the man page to reflect the fact that elf_getdata() and
elf_rawdata() may return with an error of ELF_E_SECTION.
Approved by: rstone (co-mentor)
Notes:
svn path=/stable/9/; revision=247724
|
| |
|
|
|
|
|
|
|
| |
descriptor returned by `elf_rawdata()` to NULL.
Obtained from: elftoolchain
Notes:
svn path=/head/; revision=221595
|
| |
|
|
| |
Notes:
svn path=/head/; revision=217833
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
representations of ELF types.
The ELF(3) API allows applications to request a conversion that is
`in-place', i.e., with source and destinations data buffers being
the same. However, the file and memory sizes of ELF sections that
have additional internal structure, such as those of type `Elf_Note',
or `Elf_GNU_Hash_Header', can be determined only known after the
type-specific headers that comprise the first few words in these
sections are read and translated.
Pass in the size of destination buffer to type translation routines
in "libelf_convert.m4" and have these routines return an error code
if the translated data would not fit inside the destination buffer.
Obtained from: elftoolchain
MFC after: 1 month
Notes:
svn path=/head/; revision=210338
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- elf_getdata() and elf_rawdata() should return an "Elf_Data" structure
that has its "d_buf" member set to NULL and "d_size" member set to
the nominal 'size' of the section. [1]
- Update the manual page for these functions.
- Fix a memory leak in an error handling path inside elf_getdata().
- Use _libelf_allocate_data() in elf_newdata() for consistency.
Obtained from: elftoolchain
MFC after: 1 month
Notes:
svn path=/head/; revision=210324
|
| |
|
|
|
|
|
| |
Submitted by: Kai Wang <kaiw27 at gmail dot com>
Notes:
svn path=/head/; revision=167687
|
|
|
Bump __FreeBSD_version.
Reviewed by: jb
Notes:
svn path=/head/; revision=164190
|