Idź do kodu źródłowego tego pliku.
#define ELF32_ST_BIND | ( | i | ) | ((i)>>4) |
#define ELF32_ST_TYPE | ( | i | ) | ((i)&0xf) |
int create_ehdr | ( | Elf32_ehdr * | elf_hdr, | |
uint32 | shnum, | |||
Elf32_shdr * | shaddr, | |||
uint32 | shentsize, | |||
uint32 | shstrndx, | |||
uint32 | e_type | |||
) |
Definicja w linii 542 pliku elf.cpp.
Odwołuje się do Elf32_ehdr::e_shentsize, Elf32_ehdr::e_shnum, Elf32_ehdr::e_shoff, Elf32_ehdr::e_shstrndx, Elf32_ehdr::e_type, EI_CLASS, EI_DATA, EI_VERSION, ELFCLASS32, ELFDATA2LSB, EM_386, ESUCCESS i EV_CURRENT.
Odwołania w Syms::init().
const uint32 DEF_EI_NIDENT = 16 |
const uint32 EI_VERSION = 6 |
const uint32 ELFCLASS32 = 1 |
const uint32 ELFCLASS64 = 2 |
const uint32 ELFCLASSNONE = 0 |
const uint32 ELFDATA2LSB = 1 |
const uint32 ELFDATA2MSB = 2 |
const uint32 ELFDATANONE = 0 |
const uint32 EM_MIPS_RS4_BE = 10 |
const uint32 EV_CURRENT = 1 |
struct Elf32_reloc packed |
const uint32 PT_DYNAMIC = 2 |
const uint32 R_386_NONE = 0 |
const uint32 R_386_PC32 = 2 |
const uint32 SHN_COMMON = 0xfff2 |
const uint32 SHN_HIPROC = 0xff1f |
const uint32 SHN_HIRESERVE = 0xffff |
const uint32 SHN_LOPROC = 0xff00 |
const uint32 SHN_LORESERVE = 0xff00 |
const uint32 SHT_DYNAMIC = 6 |
const uint32 SHT_DYNSYM = 11 |
const uint32 SHT_HIPROC = 0x7fffffff |
const uint32 SHT_HIUSER = 0x8fffffff |
const uint32 SHT_LOPROC = 0x70000000 |
const uint32 SHT_LOUSER = 0x80000000 |
const uint32 SHT_NOBITS = 8 |
const uint32 SHT_PROGBITS = 1 |
const uint32 SHT_STRTAB = 3 |
const uint32 SHT_SYMTAB = 2 |
const uint32 STB_GLOBAL = 0x1 |
const uint32 STB_HIPROC = 15 |
const uint32 STB_LOPROC = 13 |
const uint32 STT_HIPROC = 15 |
const uint32 STT_LOPROC = 13 |
const uint32 STT_NOTYPE = 0 |
const uint32 STT_OBJECT = 1 |
const uint32 STT_SECTION = 3 |