Next: , Previous: , Up: Top   [Contents][Index]


5 ELF Basic Types

The encoding of the simple fields in the ELF data structures is abstracted in the following Poke types.

Types used in both 32-bit and 64-bit ELF:

type Elf_Half = uint<16>

An ELF unsigned medium integer.

type Elf_Word = uint<32>

An ELF unsigned integer.

type Elf_Sword = int<32>

An ELF signed integer.

Types used in 32-bit ELF only:

type Elf32_Addr = offset<uint<32>,B>

An ELF unsigned program address.

type Elf32_Off = offset<uint<32>,B>

An ELF unsigned file offset.

Types used in 64-bit ELF only:

type Elf64_Xword = uint<64>

An ELF unsigned long integer.

type Elf64_Sxword = int<64>

An ELF signed long integer.

type Elf64_Addr = offset<uint<64>,B>

An ELF unsigned program address.

type Elf64_Off = offset,uint<64>,B>

And ELF unsigned file offset.