4,262 commits found in 13 milliseconds
common: Update the set of known SYMINFO_* constants.
common: Rework the M4 macros for ELF note types.
This change groups related definitions together, to ease adding
additional note types in the future.
elfconstants: add gABI v4.3(DRAFT) symbol DT_SYMTABSZ.
elfconstants: remove DT_MAXPOSTAGS.
This symbol holds the number of small-valued DT_* tags known
at compile time.
However, ELF files in the wild could contain DT_* tags that
are not known at compile time and/or could contain known
but non-small-valued tags in the range DT_LOOS (0x6000000D)
to DT_HIPROC (0x7FFFFFFF). ELF-handling tools are expected
to handle such tags gracefully, which means that the value of
DT_MAXPOSTAGS is not useful in practice.
Remove the symbol to reduce maintenance overhead.
readelf: Ignore DT_MAXPOSTAGS.
This value is a sentinel, not an actual dynamic linking
tag.
common: Add C definitions for relative relocation entries.
common: Add ABI constants from v4.3(DRAFT) of the gABI.
libelf/testsuite: Check archive member timestamps returned by elf_getarhdr(3).
libelf: Document the ELF_E_ARCHIVE signalled by elf_getarhdr(3)
after [r4251 ].
libelf/testsuite: Only update Elf_Data fields that use non-default values.
This change avoids redundant assignment statements in generated test
code.
libelf: (bug fix) Parse the date field in ar(1) headers.
libelf: Signal ELF_E_ARCHIVE for ar(1) archives with an invalid header.
libelf: Reject ar(1) header fields with digits larger than their expected base.
libelf/testsuite: Add tests for ar(1) archive handling.
These tests verify that ar(1) archives with unparseable archive
headers are flagged appropriately.
ar/testsuite: Handle potential file access errors.
Detected by: Coverity Scan
libelf/testsuite: pass the correct address range to munmap().
Detected by: Coverity Scan
libelf/testsuite: Improve error handling during test case setup.
Detected by: Coverity Scan
addr2line: Handle DWARF parsing failures.
Detected by: Coverity Scan
ar: Fix a potential resource leak.
Detected by: Coverity Scan
libelftc: Release resources on error.
Detected by: Coverity Scan
libelf: Avoid a potential underflow on multiplication.
Detected by: Coverity Scan
strings: Ensure that a variable is wide enough to hold an EOF.
Detected by: Coverity Scan
elfcopy/testsuite: Handle potential file access errors.
Detected by: Coverity Scan
ar/testsuite: Only close valid file descriptors.
Detected by: Coverity Scan
libtest: Handle potential failure of strdup().
libtest: Handle a search path comprised entirely of separator characters.
Detected by: Coverity Scan
libtest: Fix resource leaks and null dereferences.
Detected by: Coverity Scan
mk: Add a make(1) target to directly execute a TET-based test.
libelf/testsuite: Fix bugs introduced in [r4228 ].
Detected by: Coverity Scan
libelf/testsuite: Fix potential resource leaks during test case cleanup.
Detected by: Coverity Scan