gelf_getsyminfo - Man Page
Retrieve class-independent additional symbol information from the symbol table at the given index
Synopsis
#include <gelf.h> GElf_Syminfo *gelf_getsyminfo (Elf_Data *data, int ndx, GElf_Syminfo *dst);
Description
Copy the additional symbol information entry from data at index ndx into the class-independent GElf_Syminfo structure pointed to by dst.
data should be associated with an ELF section with type SHT_SUNW_syminfo and data type ELF_T_SYMINFO. These types are Sun/Solaris extensions and are not typically used in GNU/Linux ELF files.
Parameters
- data
Pointer to an Elf_Data for a section with type SHT_SUNW_syminfo and data type ELF_T_SYMINFO.
- ndx
Zero-based index of the additional symbol table information entry within data.
- dst
Pointer to a caller-provided structure for storing the additional symbol information entry. Must not be NULL.
Return Value
On success, this function copies the requested additional symbol information entry into *dst and returns dst. On failure, NULL is returned and elf_errno is set. If data is NULL, then NULL is returned without setting elf_errno.
See Also
Attributes
| Interface | Attribute | Value |
|---|---|---|
| gelf_getsyminfo() | Thread safety | MT-Safe |
Reporting Bugs
Report bugs to <elfutils-devel@sourceware.org> or https://sourceware.org/bugzilla/.