ElfFile
class ElfFile : AutoCloseable, OpenedFile, ReadableSectionContainer, ExportSymbolContainer, ImportSymbolContainer(source)
Represents an ELF file and provides access to its contents.
This class encapsulates the functionality for opening, parsing, and closing ELF files. It provides methods to read and interpret the ELF header and other structures within the file.
Types
Link copied to clipboard
Link copied to clipboard
data class ElfSymbolInfo(val name: String, val value: ULong, val size: ULong, val binding: ElfSymBinding, val type: ElfSymType, val visibility: ElfSymVisibility, val sectionIndex: UShort, val isUndefined: Boolean)
Represents a symbol in the ELF file
Link copied to clipboard
Represents an ELF section.
Properties
Link copied to clipboard
Get all export symbols from the ELF file
Link copied to clipboard
The identification of the ELF file
Link copied to clipboard
Get all import symbols from the ELF file
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a list of sections in the ELF file.
Link copied to clipboard
Get all symbols from the ELF file