pelf 0.1.5

A library for parsing/generating/analyzing ELF
Documentation
//! A library for parsing/handling/analyzing/etc-int ELF.

/// The pelf Prelude.
pub mod prelude;

/// A module of ELF files.
pub mod file;
/// A module of ELF file headers.
pub mod header;
/// A module for parsing ELF components.
pub mod parser;
/// A module of ELF program headers.
pub mod program_header;
/// A module of ELF section header/data.
pub mod section;

/// A module of data structures.
pub(crate) mod data_structure;

/* Types for a 16-bit quantity.  */
pub type Elf32Half = u16;
pub type Elf64Half = u16;

/* Types for signed and unsigned 32-bit quantities.  */
pub type Elf32Word = u32;
pub type Elf64Word = u32;
pub type Elf32Sword = i32;
pub type Elf64Sword = i32;

/* Types for signed and unsigned 64-bit quantities.  */
pub type Elf32Xword = u64;
pub type Elf64Xword = u64;
pub type Elf32Sxword = i64;
pub type Elf64Sxword = i64;

/* Types for addresses.  */
pub type Elf32Addr = u32;
pub type Elf64Addr = u64;

/* Types for addresses.  */
pub type Elf32Off = u32;
pub type Elf64Off = u64;

/* Type for section indices, which are 16-bit quantities.  */
pub type Elf32SectionIndex = u16;
pub type Elf64SectionIndex = u16;