These functions return a simple checksum of the ELF object described by their argument
elf. The checksum is computed in way that allows its value to remain unchanged in presence of modifications to the ELF object by utilities like
strip(1).
Function
elf32_checksum() returns a checksum for an ELF descriptor
elf of class
ELFCLASS32.
Function
elf64_checksum() returns a checksum for an ELF descriptor
elf of class
ELFCLASS64.
Function
gelf_checksum() provides a class-independent way retrieving the checksum for ELF object
elf.