xref: /titanic_44/usr/src/man/man3lib/libelf.3lib (revision 0956b730cfe26e3bfd5e8ed9c1527c0e3111b93c)
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 "18 June 2009" "SunOS 5.11" "Interface Libraries"
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_checksumelf32_fsize
elf32_getehdrelf32_getphdr
elf32_getshdrelf32_newehdr
elf32_newphdrelf32_xlatetof
elf32_xlatetomelf64_checksum
elf64_fsizeelf64_getehdr
elf64_getphdrelf64_getshdr
elf64_newehdrelf64_newphdr
elf64_xlatetofelf64_xlatetom
elf_beginelf_cntl
elf_endelf_errmsg
elf_errnoelf_fill
elf_flagdataelf_flagehdr
elf_flagelfelf_flagphdr
elf_flagscnelf_flagshdr
elf_getarhdrelf_getarsym
elf_getbaseelf_getdata
elf_getidentelf_getphdrnum
elf_getphnumelf_getscn
elf_getshdrnumelf_getshdrstrndx
elf_getshnumelf_getshstrndx
elf_hashelf_kind
elf_memoryelf_ndxscn
elf_newdataelf_newscn
elf_nextelf_nextscn
elf_randelf_rawdata
elf_rawfileelf_strptr
elf_updateelf_version
gelf_checksumgelf_fsize
gelf_getcapgelf_getclass
gelf_getdyngelf_getehdr
gelf_getmovegelf_getphdr
gelf_getrelgelf_getrela
gelf_getshdrgelf_getsym
gelf_getsyminfogelf_getsymshndx
gelf_newehdrgelf_newphdr
gelf_update_capgelf_update_dyn
gelf_update_ehdrgelf_update_move
gelf_update_phdrgelf_update_rel
gelf_update_relagelf_update_shdr
gelf_update_symgelf_update_symshndx
gelf_update_syminfogelf_xlatetof
gelf_xlatetomnlist
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 TYPEATTRIBUTE VALUE
MT-LevelSafe
SEE ALSO

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