Man page - elf64_offscn(3)
Packages contas this manual
- elf_ndxscn(3)
- elf_getscn(3)
- libelf(3)
- elf_errno(3)
- elf32_getphdr(3)
- elf_begin(3)
- elf_errmsg(3)
- elf32_checksum(3)
- elf32_xlatetof(3)
- elf64_fsize(3)
- elf64_newphdr(3)
- elf32_fsize(3)
- elf_version(3)
- elf32_newehdr(3)
- elf_clone(3)
- elf64_getchdr(3)
- elf32_newphdr(3)
- elf64_xlatetom(3)
- elf32_getchdr(3)
- elf_getdata(3)
- elf32_getshdr(3)
- elf64_getphdr(3)
- elf64_newehdr(3)
- elf64_getehdr(3)
- elf64_getshdr(3)
- elf32_getehdr(3)
- elf_update(3)
- elf32_xlatetom(3)
- elf64_checksum(3)
- elf64_offscn(3)
- elf64_xlatetof(3)
- elf32_offscn(3)
apt-get install libelf-dev
Manual
| ELF64_OFFSCN(3) | Libelf Programmer's Manual | ELF64_OFFSCN(3) |
NAME
elf64_offscn - retrieve a section descriptor by file offset for a 64-bit ELF file
SYNOPSIS
#include <libelf.h>
Elf_Scn *elf64_offscn(Elf *elf, off_t offset);
DESCRIPTION
The elf64_offscn function retrieves the section descriptor for the non-empty section at the specified file offset in the ELF64 object referred to by elf.
PARAMETERS
RETURN VALUE
The elf64_offscn function returns a pointer to the Elf_Scn of the non-empty section with a sh_offset matching offset. If an error occurs, it returns NULL and sets an appropriate libelf error code.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
| Interface | Attribute | Value |
| elf64_offscn () | Thread safety | MT-Safe |
SEE ALSO
elf32_offscn(3), libelf(3), elf(5),
REPORTING BUGS
Report bugs to <elfutils-devel@sourceware.org> or https://sourceware.org/bugzilla/.
HISTORY
elf64_offscn first appeared in elfutils 0.112. This elfutils libelf function may not be found in other libelf implementations.
| 2024-07-18 | Libelf |