Elf32_Ehdr
Elf32_Ehdr::IsHostEndian() const
Elf32_Ehdr::IsHostEndian() const
typedef Elf32_Ehdr Ehdr;
Elf32_Ehdr elf_header;
= std::max(sizeof(Elf32_Ehdr), sizeof(Elf64_Ehdr)) + 32;
_InitELFXFile<Elf32_Ehdr, Elf32_Phdr, Elf32_Shdr>(file, fileSize);
typedef Elf32_Ehdr Elf_Ehdr;
typedef Elf32_Ehdr EhdrType;
if (length < sizeof(Elf32_Ehdr))
return parse_elf32_header((Elf32_Ehdr *)header, &programSize, §ionSize);
parse_elf32_header(Elf32_Ehdr* eheader, int32* _pheaderSize,
status_t parse_elf32_header(Elf32_Ehdr* eheader, int32* _pheaderSize,
determine_x86_abi(int fd, const Elf32_Ehdr& elfHeader, bool& _isGcc2)
Elf32_Ehdr elfHeader;
Elf32_Ehdr *e = v;
typedef Elf32_Ehdr Elf_Ehdr;
static const uint32 kMaxELFHeaderSize = sizeof(Elf32_Ehdr) + 32;
Elf32_Ehdr fileHeader;
read_exactly(file, 0, &fileHeader, sizeof(Elf32_Ehdr),
if (headerSize < sizeof(Elf32_Ehdr) || headerSize > kMaxELFHeaderSize) {
_ParseELFHeader<Elf32_Ehdr, Elf32_Shdr>();