FreeBSD manual
download PDF document: elftc.3.pdf
ELFTC(3) FreeBSD Library Functions Manual ELFTC(3)
NAME
elftc - support routines used in the Elftoolchain project
LIBRARY
library "libelftc"
SYNOPSIS
#include <libelftc.h>
DESCRIPTION
The library "libelftc" provides support routines used for developing the
utilities in the Elftoolchain source tree.
This manual page serves as an overview of the functionality in this
library. Additional reference information may be found in the individual
manual pages for the functions listed below.
Functional Grouping
Binary Object Handling
elftc_bfd_find_target()
Locate a binary object descriptor.
elftc_bfd_target_class()
Query the ELF class for a binary object descriptor.
elftc_bfd_target_byteorder()
Query the byte order for a binary object descriptor.
elftc_bfd_target_flavor()
Query the object format for a binary object descriptor.
elftc_bfd_target_machine()
Query the target machine for a binary object descriptor.
elftc_bfd_target_osabi()
Query the target osabi for a binary object descriptor.
C++ support
elftc_demangle()
Decodes a symbol name encoded according to the encoding
rules for the C++ language.
Programming conveniences
elftc_copyfile()
Copies the contents of a file to another.
elftc_set_timestamp()
Portably set the time stamps on a file.
Project Configuration
elftc_version()
Returns a project-wide identifier string that encodes the
source revision of the source tree.
SEE ALSO
dwarf(3), elf(3)
FreeBSD 14.0-RELEASE-p11 February 12, 2020 FreeBSD 14.0-RELEASE-p11