LLDB mainline
Classes | Namespaces
ELFHeader.h File Reference

Generic structures and typedefs for ELF files. More...

#include "llvm/BinaryFormat/ELF.h"
#include "lldb/lldb-enumerations.h"
#include "lldb/lldb-types.h"

Go to the source code of this file.

Classes

class  elf::ELFHeader
 Generic representation of an ELF file header. More...
 
class  elf::ELFSectionHeader
 Generic representation of an ELF section header. More...
 
class  elf::ELFProgramHeader
 Generic representation of an ELF program header. More...
 
class  elf::ELFSymbol
 Represents a symbol within an ELF symbol table. More...
 
class  elf::ELFDynamic
 Represents an entry in an ELF dynamic table. More...
 
class  elf::ELFRel
 Represents a relocation entry with an implicit addend. More...
 
class  elf::ELFRela
 Represents a relocation entry with an explicit addend. More...
 

Namespaces

namespace  lldb_private
 A class that represents a running process on the host machine.
 
namespace  elf
 

Typedefs

ELF type definitions.

Types used to represent the various components of ELF structures.

All types are signed or unsigned integral types wide enough to hold values from both 32 and 64 bit ELF variants.

typedef uint64_t elf::elf_addr
 
typedef uint64_t elf::elf_off
 
typedef uint16_t elf::elf_half
 
typedef uint32_t elf::elf_word
 
typedef int32_t elf::elf_sword
 
typedef uint64_t elf::elf_size
 
typedef uint64_t elf::elf_xword
 
typedef int64_t elf::elf_sxword
 

Detailed Description

Generic structures and typedefs for ELF files.

This file provides definitions for the various entities comprising an ELF file. The structures are generic in the sense that they do not correspond to the exact binary layout of an ELF, but can be used to hold the information present in both 32 and 64 bit variants of the format. Each entity provides a Parse method which is capable of transparently reading both 32 and 64 bit instances of the object.

Definition in file ELFHeader.h.