Lines Matching defs:Header
90 // Section header.
104 Elf_Word sh_link; // Section type-specific header table index link
119 Elf_Word sh_link; // Section type-specific header table index link
151 Elf_Half st_shndx; // Which section (header table index) it's defined in
160 Elf_Half st_shndx; // Which section (header table index) it's defined in
272 Elf_Off e_phoff; // Program header table's file offset, in bytes
273 Elf_Off e_shoff; // Section header table's file offset, in bytes
275 Elf_Half e_ehsize; // Size of ELF header, in bytes
276 Elf_Half e_phentsize;// Size of an entry in the program header table
277 Elf_Half e_phnum; // Number of entries in the program header table
278 Elf_Half e_shentsize;// Size of an entry in the section header table
279 Elf_Half e_shnum; // Number of entries in the section header table
280 Elf_Half e_shstrndx; // Section header table index of section name
293 const Elf_Ehdr *Header;
295 const Elf_Shdr *dot_shstrtab_sec; // Section header string table.
296 const Elf_Shdr *dot_strtab_sec; // Symbol header string table.
657 sec += Header->e_shentsize;
913 switch (Header->e_machine) {
1055 switch (Header->e_machine) {
1088 Header = reinterpret_cast<const Elf_Ehdr *>(base());
1090 if (Header->e_shoff == 0)
1094 reinterpret_cast<const Elf_Shdr *>(base() + Header->e_shoff);
1095 uint64_t SectionTableSize = getNumSections() * Header->e_shentsize;
1140 *e = i + getNumSections() * Header->e_shentsize;
1141 i != e; i += Header->e_shentsize) {
1204 ret.p = reinterpret_cast<intptr_t>(base() + Header->e_shoff);
1214 + Header->e_shoff
1215 + (Header->e_shentsize*getNumSections()));
1227 switch(Header->e_ident[ELF::EI_CLASS]) {
1229 switch(Header->e_machine) {
1240 switch(Header->e_machine) {
1256 switch(Header->e_machine) {
1270 if (Header->e_shnum == ELF::SHN_UNDEF)
1272 return Header->e_shnum;
1278 if (Header->e_shnum == ELF::SHN_UNDEF) {
1279 if (Header->e_shstrndx == ELF::SHN_HIRESERVE)
1281 if (Header->e_shstrndx >= getNumSections())
1284 return Header->e_shstrndx;
1346 + (index * Header->e_shentsize));