/build/tools/isprelinked/ |
isprelinked.c | 52 GElf_Ehdr elf_hdr; local 68 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), 72 prelinked = check_prelinked(filename, elf_hdr.e_ident[EI_DATA] == ELFDATA2LSB,
|
/external/qemu/elff/ |
elf_file.cc | 80 const Elf_CommonHdr* elf_hdr = &header.common;
local 106 if (memcmp(elf_hdr->e_ident, ELFMAG, SELFMAG) != 0) {
113 assert(elf_hdr->ei_info.ei_class == ELFCLASS32 ||
114 elf_hdr->ei_info.ei_class == ELFCLASS64);
115 if (elf_hdr->ei_info.ei_class != ELFCLASS32 &&
116 elf_hdr->ei_info.ei_class != ELFCLASS64) {
123 if (elf_hdr->ei_info.ei_class == ELFCLASS32) {
130 if (!ret->initialize(elf_hdr, path)) {
141 bool ElfFile::initialize(const Elf_CommonHdr* elf_hdr, const char* path) {
161 is_ELF_64_ = elf_hdr->ei_info.ei_class == ELFCLASS64; [all...] |
/build/tools/apriori/ |
source.h | 66 GElf_Ehdr elf_hdr, oldelf_hdr; member in struct:source_t
|
/build/tools/soslim/ |
main.c | 101 GElf_Ehdr elf_hdr; local 104 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), gelf_getehdr); 105 FAILIF(elf_hdr.e_type != ET_DYN && 106 elf_hdr.e_type != ET_EXEC, 110 elf_hdr.e_type); 148 GElf_Ehdr elf_hdr; local 150 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), gelf_getehdr); 151 FAILIF(elf_hdr.e_type != ET_DYN, 154 elf_hdr.e_type,
|
/build/tools/lsd/ |
lsd.c | 41 GElf_Ehdr elf_hdr; member in struct:source_t 155 FAILIF_LIBELF(0 == gelf_getehdr(source->elf, &source->elf_hdr), gelf_getehdr); 156 FAILIF(source->elf_hdr.e_type != ET_DYN && 157 source->elf_hdr.e_type != ET_EXEC, 160 source->elf_hdr.e_type, 253 1, source->elf_hdr.e_version); 320 if (source->elf_hdr.e_type != ET_EXEC) { 757 if (source->elf_hdr.e_type == ET_DYN) {
|