Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Interface Librarieslibelf(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_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_getscn
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_getclassgelf_getdyn
gelf_getehdrgelf_getmove
gelf_getphdrgelf_getrel
gelf_getrelagelf_getshdr
gelf_getsymgelf_getsyminfo
gelf_newehdrgelf_newphdr
gelf_update_dyngelf_update_ehdr
gelf_update_movegelf_update_phdr
gelf_update_relgelf_update_rela
gelf_update_shdrgelf_update_sym
gelf_update_syminfogelf_xlatetof
gelf_xlatetomnlist

FILES

 
/usr/lib/libelf.a
archive library
/usr/lib/libelf.so.1
shared object
/usr/lib/64/libelf.so.1
64-bit shared object

ATTRIBUTES

 

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

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsl, SUNWarc (32-bit)
 SUNWcslx (64-bit)
MT-LevelSafe

SEE ALSO

 

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


SunOS 5.9Go To TopLast Changed 27 Feb 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.