Man page - elf32_getchdr(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)
Package: libelf-dev
apt-get install libelf-dev
apt-get install libelf-dev
Manuals in package:
Documentations in package:
Manual
| ELF32_GETCHDR(3) | Libelf Programmer's Manual | ELF32_GETCHDR(3) |
NAME
elf32_getchdr, elf64_getchdr - retrieve the compression header for a section from a 32-bit or 64-bit ELF object file.
SYNOPSIS
#include <libelf.h> Elf32_Chdr *elf32_getchdr(Elf_Scn *scn); Elf64_Chdr *elf64_getchdr(Elf_Scn *scn);
DESCRIPTION
Retrieve the compression header for a section with compressed data. Sections with compressed data are indicated with the SHF_COMPRESSED flag. See libelf(3) for more information regarding the compression header.
PARAMETERS
- scn
- Section whose compression header will be retrieved. The section's SHF_COMPRESSED flag must be set.
RETURN VALUE
On success, return a pointer to the compression header. On failure, return NULL and set a libelf error code.
SEE ALSO
elf_compress(3), elf_errno(3), libelf(3), elf(5)
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
| Interface | Attribute | Value |
| elf32_getchdr (), elf64_getchdr () | Thread safety | MT-Safe |
REPORTING BUGS
Report bugs to <elfutils-devel@sourceware.org> or https://sourceware.org/bugzilla/.
HISTORY
elf32_getchdr first appeared in elfutils 0.165.
| 2024-08-14 | Libelf |