LIBELF(3LIB) Interface Libraries LIBELF(3LIB)


NAME


libelf - ELF access library

SYNOPSIS


cc [ flag... ] file... -lelf [ library... ]
#include <libelf.h>


DESCRIPTION


Functions in this library provide routines to manipulate ELF (Executable
and Linking Format) object files, archive files, and archive members. The
header provides type and function declarations for all library services.

INTERFACES


The shared object libelf.so.1 provides the public interfaces defined
below. See Intro(3) for additional information on shared object
interfaces.


elf32_checksum elf32_fsize
elf32_getehdr elf32_getphdr
elf32_getshdr elf32_newehdr
elf32_newphdr elf32_xlatetof
elf32_xlatetom elf64_checksum
elf64_fsize elf64_getehdr
elf64_getphdr elf64_getshdr
elf64_newehdr elf64_newphdr
elf64_xlatetof elf64_xlatetom
elf_begin elf_cntl
elf_end elf_errmsg
elf_errno elf_fill
elf_flagdata elf_flagehdr
elf_flagelf elf_flagphdr
elf_flagscn elf_flagshdr
elf_getarhdr elf_getarsym
elf_getbase elf_getdata
elf_getident elf_getphdrnum
elf_getphnum elf_getscn
elf_getshdrnum elf_getshdrstrndx
elf_getshnum elf_getshstrndx
elf_hash elf_kind
elf_memory elf_ndxscn
elf_newdata elf_newscn
elf_next elf_nextscn
elf_rand elf_rawdata
elf_rawfile elf_strptr
elf_update elf_version
gelf_checksum gelf_fsize
gelf_getcap gelf_getclass
gelf_getdyn gelf_getehdr
gelf_getmove gelf_getphdr
gelf_getrel gelf_getrela
gelf_getshdr gelf_getsym
gelf_getsyminfo gelf_getsymshndx
gelf_newehdr gelf_newphdr
gelf_update_cap gelf_update_dyn
gelf_update_ehdr gelf_update_move
gelf_update_phdr gelf_update_rel
gelf_update_rela gelf_update_shdr
gelf_update_sym gelf_update_symshndx
gelf_update_syminfo gelf_xlatetof
gelf_xlatetom nlist


FILES


/lib/libelf.so.1
shared object


/lib/64/libelf.so.1
64-bit shared object


ATTRIBUTES


See attributes(5) for descriptions of the following attributes:


+---------------+-----------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------+
|MT-Level | Safe |
+---------------+-----------------+

SEE ALSO


pvs(1), Intro(3), elf(3ELF), gelf(3ELF), attributes(5)


June 18, 2009 LIBELF(3LIB)