Home
last modified time | relevance | path

Searched refs:e_type (Results 1 - 25 of 92) sorted by relevance

1234

/third_party/elfutils/libdwelf/
H A Ddwelf_elf_gnu_build_id.c64 find_elf_build_id (Dwfl_Module *mod, int e_type, Elf *elf, in find_elf_build_id() argument
111 else if (mod == NULL || e_type != ET_REL) in find_elf_build_id()
140 assert (ehdr->e_type != ET_REL || mod != NULL); in __libdwfl_find_elf_build_id()
142 return find_elf_build_id (mod, ehdr->e_type, elf, in __libdwfl_find_elf_build_id()
/third_party/elfutils/libdwfl/
H A Ddwfl_report_elf.c62 switch (ehdr->e_type) in __libdwfl_elf_address_range()
235 *e_typep = ehdr->e_type; in __libdwfl_elf_address_range()
246 GElf_Half e_type; in __libdwfl_report_elf() local
249 &e_type)) in __libdwfl_report_elf()
275 m->e_type = e_type; in __libdwfl_report_elf()
H A Dderelocate.c107 && mod->e_type == ET_REL) in cache_sections()
145 if (mod->e_type == ET_REL in cache_sections()
242 switch (mod->e_type) in dwfl_module_relocations()
265 switch (mod->e_type) in dwfl_module_relocation_info()
383 switch (mod->e_type) in dwfl_module_relocate_address()
416 assert (mod->e_type == ET_REL); in INTDEF()
H A Ddwfl_module_getsym.c112 if ((shndxp != NULL || mod->e_type != ET_REL) in __libdwfl_getsym()
128 if (! adjust_st_value && mod->e_type != ET_REL && alloc in __libdwfl_getsym()
160 if (mod->e_type == ET_REL) in __libdwfl_getsym()
H A Ddwfl_segment_report_module.c349 uint16_t e_type; in dwfl_segment_report_module() local
395 e_type = ehdr.e32.e_type; in dwfl_segment_report_module()
413 e_type = ehdr.e64.e_type; in dwfl_segment_report_module()
890 name = e_type == ET_EXEC ? "[exe]" : execlike ? "[pie]" : "[dso]"; in dwfl_segment_report_module()
932 if (mod != NULL && (execlike || ehdr.e32.e_type == ET_EXEC)) in dwfl_segment_report_module()
H A Ddwfl_module_getdwarf.c93 if (ehdr->e_type != ET_REL) in open_elf()
147 /* We only want to set the module e_type explicitly once, derived from in open_elf()
152 or aux files override the module e_type. The kernel heuristic in open_elf()
157 mod->e_type = ehdr->e_type; in open_elf()
160 if (mod->e_type == ET_EXEC && file->vaddr != mod->low_addr) in open_elf()
161 mod->e_type = ET_DYN; in open_elf()
235 mod->main_bias = mod->e_type == ET_REL ? 0 : mod->low_addr - mod->main.vaddr; in __libdwfl_getelf()
1321 if (mod->e_type == ET_REL && !debugfile->relocated) in load_dw()
1349 if (mod->e_type in load_dw()
[all...]
H A Ddwfl_module_getelf.c44 if (mod->e_type == ET_REL && ! mod->main.relocated) in dwfl_module_getelf()
H A Dlink_map.c190 if (likely (mod->e_type != ET_REL) && mod->main.elf != NULL) in integrated_memory_callback()
550 if (mod->e_type == ET_EXEC) in consider_executable()
587 if (mod->e_type == ET_EXEC) in consider_executable()
997 || phdr_mod->e_type != ET_EXEC) in dwfl_link_map_report()
/third_party/elfutils/tests/
H A Dnewfile.c37 ehdr->e_type, in print_ehdr()
116 ZERO_TEST (e_type); in main()
148 ZERO_TEST (e_type); in main()
H A Dupdate2.c76 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
86 ehdr->e_type = ET_EXEC; in main()
136 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
H A Dsaridx.c208 ehdr.e_type == ET_REL in main()
210 : (ehdr.e_type == ET_EXEC in main()
212 : (ehdr.e_type == ET_DYN in main()
H A Dupdate3.c85 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
95 ehdr->e_type = ET_EXEC; in main()
191 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
H A Ddwflsyms.c145 || ehdr.e_type == ET_REL); in list_syms()
166 || ehdr.e_type == ET_REL); in list_syms()
185 if (value != isym.st_value + bias && ehdr.e_type != ET_REL) in list_syms()
H A Dupdate1.c75 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
113 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
H A Dupdate4.c89 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
99 ehdr->e_type = ET_EXEC; in main()
343 ehdr->e_type, ehdr->e_machine, ehdr->e_version, ehdr->e_entry, in main()
/third_party/elfutils/src/
H A Darlib.c229 if (ehdr->e_type == ET_REL) in arlib_add_symbols()
231 else if (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DYN) in arlib_add_symbols()
276 if (ehdr->e_type != ET_REL) in arlib_add_symbols()
H A Delflint.c386 /* Check the e_type field. */ in check_elf_header()
387 if (ehdr->e_type != ET_REL && ehdr->e_type != ET_EXEC in check_elf_header()
388 && ehdr->e_type != ET_DYN && ehdr->e_type != ET_CORE) in check_elf_header()
389 ERROR (_("unknown object file type %d\n"), ehdr->e_type); in check_elf_header()
407 else if (ehdr->e_type == ET_EXEC || ehdr->e_type == ET_DYN) in check_elf_header()
421 else if (ehdr->e_type != ET_EXEC && ehdr->e_type ! in check_elf_header()
[all...]
H A Dunstrip.c1279 && main_ehdr->e_type == ET_EXEC in find_alloc_sections_prelink()
1418 if (stripped_ehdr->e_type != ET_REL) in copy_elided_sections()
1447 stripped_ehdr->e_type == ET_REL in copy_elided_sections()
1490 if (stripped_ehdr->e_type != ET_REL) in copy_elided_sections()
1671 if (stripped_ehdr->e_type != ET_REL in copy_elided_sections()
1716 if (stripped_ehdr->e_type != ET_REL && (shdr_mem.sh_flags & SHF_ALLOC)) in copy_elided_sections()
1803 || (stripped_ehdr->e_type != ET_REL in copy_elided_sections()
1828 collect_symbols (unstripped, stripped_ehdr->e_type == ET_REL, in copy_elided_sections()
1835 collect_symbols (unstripped, stripped_ehdr->e_type == ET_REL, in copy_elided_sections()
1837 stripped_ehdr->e_type in copy_elided_sections()
[all...]
/third_party/node/deps/openssl/openssl/util/
H A Dcheck-format-test-negatives.c380 } e_type; typedef
384 } e_type; member
387 } e_type; member
390 enum e_type { enum
396 enum e_type { enum
/third_party/openssl/util/
H A Dcheck-format-test-negatives.c380 } e_type; typedef
384 } e_type; member
387 } e_type; member
390 enum e_type { enum
396 enum e_type { enum
/third_party/libabigail/src/
H A Dabg-elf-helpers.cc434 if (elf_header->e_type == ET_REL in find_symbol_table_section()
435 || elf_header->e_type == ET_EXEC) in find_symbol_table_section()
1289 return elf_header.e_type == ET_EXEC; in is_executable()
1302 return elf_header.e_type == ET_DYN; in is_dso()
1335 if (elf_header.e_type != ET_REL) in maybe_adjust_et_rel_sym_addr_to_abs_addr()
/third_party/elfutils/backends/
H A Dppc64_init.c77 if (ehdr != NULL && ehdr->e_type != ET_REL in ppc64_init()
/third_party/elfutils/libelf/
H A Dgelf_getehdr.c74 COPY (e_type); in __gelf_getehdr_rdlock()
H A Dgelf_update_ehdr.c81 COPY (e_type); in gelf_update_ehdr()
/third_party/libbpf/src/
H A Dusdt.c336 if (ehdr.e_type != ET_EXEC && ehdr.e_type != ET_DYN) { in sanity_check_usdt_elf()
338 path, ehdr.e_type); in sanity_check_usdt_elf()
687 if (ehdr.e_type == ET_DYN && !man->has_bpf_cookie) { in collect_usdt_targets()
729 usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, in collect_usdt_targets()
760 usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", in collect_usdt_targets()

Completed in 21 milliseconds

1234