ElfIdentification

data class ElfIdentification(val eiClass: ElfClass, val eiData: ElfData, val eiVersion: UByte, val eiOsAbi: ElfOsAbi, val eiAbiVersion: UByte) : ReadableStructure(source)

Represents the initial bytes of an ELF file that specify how to interpret the file.

The ELF identification provides an object file framework to support multiple processors, multiple data encodings, and multiple classes of machines. These initial bytes help interpret the file independent of the processor and the file's remaining contents.

Constructors

Link copied to clipboard
constructor(eiClass: ElfClass, eiData: ElfData, eiVersion: UByte, eiOsAbi: ElfOsAbi, eiAbiVersion: UByte)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The ABI version.

Link copied to clipboard

Identifies the file's class or capacity (32-bit or 64-bit objects).

Link copied to clipboard

Specifies the data encoding of processor-specific data (little or big endian).

Link copied to clipboard

Identifies the operating system and ABI for which the object is prepared.

Link copied to clipboard

Specifies the ELF header version number.

Link copied to clipboard
open override val fields: Map<String, Any>