xref: /titanic_44/usr/src/man/man3lib/libelf.3lib (revision cf4a31c0ba08a2c3f8fceda20e97e29741f7edea)
te
Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
LIBELF 3LIB "Jun 18, 2009"
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)