Home
last modified time | relevance | path

Searched refs:elf_hdr (Results 1 – 5 of 5) sorted by relevance

/build/tools/isprelinked/
Disprelinked.c52 GElf_Ehdr elf_hdr; in main() local
68 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), in main()
72 prelinked = check_prelinked(filename, elf_hdr.e_ident[EI_DATA] == ELFDATA2LSB, in main()
/build/tools/soslim/
Dmain.c101 GElf_Ehdr elf_hdr; in main() local
104 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), gelf_getehdr); in main()
105 FAILIF(elf_hdr.e_type != ET_DYN && in main()
106 elf_hdr.e_type != ET_EXEC, in main()
110 elf_hdr.e_type); in main()
148 GElf_Ehdr elf_hdr; in main() local
150 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), gelf_getehdr); in main()
151 FAILIF(elf_hdr.e_type != ET_DYN, in main()
154 elf_hdr.e_type, in main()
/build/tools/lsd/
Dlsd.c41 GElf_Ehdr elf_hdr; member
155 FAILIF_LIBELF(0 == gelf_getehdr(source->elf, &source->elf_hdr), gelf_getehdr); in init_source()
156 FAILIF(source->elf_hdr.e_type != ET_DYN && in init_source()
157 source->elf_hdr.e_type != ET_EXEC, in init_source()
160 source->elf_hdr.e_type, in init_source()
253 1, source->elf_hdr.e_version); in init_source()
320 if (source->elf_hdr.e_type != ET_EXEC) { in is_symbol_imported()
757 if (source->elf_hdr.e_type == ET_DYN) { in lsd()
/build/tools/apriori/
Dsource.h66 GElf_Ehdr elf_hdr, oldelf_hdr; member
Dapriori.c575 1, source->elf_hdr.e_version); in do_init_source()
698 FAILIF_LIBELF(0 == gelf_getehdr(source->elf, &source->elf_hdr), in init_source()
702 &source->elf_hdr, in init_source()
703 sizeof(source->elf_hdr))); in init_source()
711 FAILIF_LIBELF(0 != arm_init(source->elf, source->elf_hdr.e_machine, in init_source()
770 source->elf_hdr.e_type != ET_EXEC) in destroy_source()
779 source->elf_hdr.e_ident[EI_DATA] == ELFDATA2LSB, in destroy_source()
1581 source->elf_hdr.e_version); in adjust_dynamic_segment_entry_size()
1769 bool adjust_file = ADJUST_ELF && source->elf_hdr.e_type != ET_EXEC; in adjust_dynamic_segment_for()
1775 source->elf_hdr.e_version); in adjust_dynamic_segment_for()
[all …]