Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
elf.h File Reference
#include "platform/globals.h"

Go to the source code of this file.

Classes

struct  dart::elf::ElfHeader
 
struct  dart::elf::ProgramHeader
 
struct  dart::elf::SectionHeader
 
struct  dart::elf::Symbol
 
struct  dart::elf::DynamicEntry
 
struct  dart::elf::Note
 

Namespaces

namespace  dart
 
namespace  dart::elf
 

Enumerations

enum class  dart::elf::ProgramHeaderType : uint32_t {
  dart::elf::PT_NULL = 0 , dart::elf::PT_LOAD = 1 , dart::elf::PT_DYNAMIC = 2 , dart::elf::PT_NOTE = 4 ,
  dart::elf::PT_PHDR = 6 , dart::elf::PT_GNU_STACK = 0x6474e551
}
 
enum class  dart::elf::SectionHeaderType : uint32_t {
  dart::elf::SHT_NULL = 0 , dart::elf::SHT_PROGBITS = 1 , dart::elf::SHT_SYMTAB = 2 , dart::elf::SHT_STRTAB = 3 ,
  dart::elf::SHT_HASH = 5 , dart::elf::SHT_NOTE = 7 , dart::elf::SHT_NOBITS = 8 , dart::elf::SHT_DYNAMIC = 6 ,
  dart::elf::SHT_DYNSYM = 11
}
 
enum class  dart::elf::DynamicEntryType : uint32_t {
  dart::elf::DT_NULL = 0 , dart::elf::DT_HASH = 4 , dart::elf::DT_STRTAB = 5 , dart::elf::DT_SYMTAB = 6 ,
  dart::elf::DT_STRSZ = 10 , dart::elf::DT_SYMENT = 11
}
 
enum class  dart::elf::NoteType : uint32_t { dart::elf::NT_GNU_BUILD_ID = 3 }
 

Functions

constexpr decltype(Symbol::infodart::elf::SymbolInfo (intptr_t binding, intptr_t type)
 
constexpr intptr_t dart::elf::SymbolBinding (const decltype(Symbol::info) info)
 
constexpr intptr_t dart::elf::SymbolType (const decltype(Symbol::info) info)
 

Variables

static constexpr intptr_t dart::elf::ELFCLASS32 = 1
 
static constexpr intptr_t dart::elf::ELFCLASS64 = 2
 
static constexpr intptr_t dart::elf::EI_DATA = 5
 
static constexpr intptr_t dart::elf::ELFDATA2LSB = 1
 
static constexpr intptr_t dart::elf::ELFOSABI_SYSV = 0
 
static constexpr intptr_t dart::elf::ET_DYN = 3
 
static constexpr intptr_t dart::elf::EF_ARM_ABI_FLOAT_HARD = 0x00000400
 
static constexpr intptr_t dart::elf::EF_ARM_ABI_FLOAT_SOFT = 0x00000200
 
static constexpr intptr_t dart::elf::EF_ARM_ABI = 0x05000000
 
static constexpr intptr_t dart::elf::EM_386 = 3
 
static constexpr intptr_t dart::elf::EM_ARM = 40
 
static constexpr intptr_t dart::elf::EM_X86_64 = 62
 
static constexpr intptr_t dart::elf::EM_AARCH64 = 183
 
static constexpr intptr_t dart::elf::EM_RISCV = 243
 
static constexpr intptr_t dart::elf::EV_CURRENT = 1
 
static constexpr intptr_t dart::elf::PF_X = 1
 
static constexpr intptr_t dart::elf::PF_W = 2
 
static constexpr intptr_t dart::elf::PF_R = 4
 
static constexpr intptr_t dart::elf::SHF_WRITE = 0x1
 
static constexpr intptr_t dart::elf::SHF_ALLOC = 0x2
 
static constexpr intptr_t dart::elf::SHF_EXECINSTR = 0x4
 
static constexpr intptr_t dart::elf::SHN_UNDEF = 0
 
static constexpr intptr_t dart::elf::STN_UNDEF = 0
 
static constexpr intptr_t dart::elf::STB_LOCAL = 0
 
static constexpr intptr_t dart::elf::STB_GLOBAL = 1
 
static constexpr intptr_t dart::elf::STT_NOTYPE = 0
 
static constexpr intptr_t dart::elf::STT_OBJECT = 1
 
static constexpr intptr_t dart::elf::STT_FUNC = 2
 
static constexpr intptr_t dart::elf::STT_SECTION = 3
 
static constexpr const char dart::elf::ELF_NOTE_GNU [] = "GNU"