linux man page for elf32_checksum

Query: elf32_checksum

OS: linux

Section: 3elf

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

elf32_checksum(3ELF)					       ELF Library Functions					      elf32_checksum(3ELF)

NAME
elf32_checksum, elf64_checksum - return checksum of elf image
SYNOPSIS
cc [ flag ... ] file ... -lelf [ library ... ] #include <libelf.h> long elf32_checksum(Elf *elf); long elf64_checksum(Elf *elf);
DESCRIPTION
The elf32_checksum() function returns a simple checksum of selected sections of the image identified by elf. The value is typically used as the .dynamic tag DT_CHECKSUM, recorded in dynamic executables and shared objects. Selected sections of the image are used to calcluate the checksum in order that its value is not affected by utilities such as strip(1). For the 64-bit class, replace 32 with 64 as appropriate.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
elf(3ELF), elf_version(3ELF), gelf(3ELF), libelf(3LIB), attributes(5) SunOS 5.10 11 Jul 2001 elf32_checksum(3ELF)
Related Man Pages
elf64_checksum(3elf) - redhat
elf32_checksum(3elf) - osx
elf32_checksum(3elf) - xfree86
elf32_checksum(3elf) - minix
elf64_checksum(3elf) - mojave
Similar Topics in the Unix Linux Community
Featured Books and Articles by Active Forum Members
User Guide: Posting in the Emergency Forum
Status of UNIX.COM Forum Transformation
Answers to Recently Asked Questions about UNIX.COM