ElfSymbolInfo

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)(source)

Represents a symbol in the ELF file

Constructors

Link copied to clipboard
constructor(name: String, value: ULong, size: ULong, binding: ElfSymBinding, type: ElfSymType, visibility: ElfSymVisibility, sectionIndex: UShort, isUndefined: Boolean)

Properties

Link copied to clipboard

The binding attribute of the symbol (LOCAL, GLOBAL, WEAK)

Link copied to clipboard

Whether the symbol is undefined (imported)

Link copied to clipboard

The name of the symbol

Link copied to clipboard

The section index where this symbol is defined, or SHN_UNDEF if undefined

Link copied to clipboard
val size: ULong

The size of the symbol

Link copied to clipboard

The type attribute of the symbol (NOTYPE, OBJECT, FUNC, etc.)

Link copied to clipboard

The value (address) of the symbol

Link copied to clipboard

The visibility attribute of the symbol (DEFAULT, HIDDEN, PROTECTED)