Lines Matching refs:elfdata
45 do_check64 (const char *a64, uint_fast8_t *elfdata) in do_check64() argument
57 *elfdata = ELFDATA2MSB; in do_check64()
64 *elfdata = ELFDATA2LSB; in do_check64()
72 do_check32 (const char *a32, uint_fast8_t *elfdata) in do_check32() argument
84 *elfdata = ELFDATA2MSB; in do_check32()
91 *elfdata = ELFDATA2LSB; in do_check32()
102 uint_fast8_t *elfclass, uint_fast8_t *elfdata) in auxv_format_probe() argument
106 if (do_check64 (auxv + i * sizeof (Elf64_auxv_t), elfdata)) in auxv_format_probe()
112 if (do_check32 (auxv + (i * 2) * sizeof (Elf32_auxv_t), elfdata) in auxv_format_probe()
113 || do_check32 (auxv + (i * 2 + 1) * sizeof (Elf32_auxv_t), elfdata)) in auxv_format_probe()
247 uint_fast8_t elfclass, uint_fast8_t elfdata, in read_addrs() argument
276 if (elfdata == ELFDATA2MSB) in read_addrs()
285 if (elfdata == ELFDATA2MSB) in read_addrs()
309 report_r_debug (uint_fast8_t elfclass, uint_fast8_t elfdata, in report_r_debug() argument
323 if (unlikely (read_addrs (&memory_closure, elfclass, elfdata, in report_r_debug()
340 if (read_addrs (&memory_closure, elfclass, elfdata, in report_r_debug()
531 uint_fast8_t *elfclass, uint_fast8_t *elfdata, in consider_executable() argument
682 if (*elfdata == ELFDATANONE) in consider_executable()
683 *elfdata = ehdr.e_ident[EI_DATA]; in consider_executable()
684 else if (*elfdata != ehdr.e_ident[EI_DATA]) in consider_executable()
697 uint_fast8_t *elfclass, uint_fast8_t *elfdata, in find_executable() argument
705 elfclass, elfdata, in find_executable()
725 uint_fast8_t elfdata = ELFDATANONE; in dwfl_link_map_report() local
727 && likely (auxv_format_probe (auxv, auxv_size, &elfclass, &elfdata))) in dwfl_link_map_report()
768 if (elfdata == ELFDATA2MSB) in dwfl_link_map_report()
775 if (elfdata == ELFDATA2MSB) in dwfl_link_map_report()
935 (&out, &in, elfdata) != NULL)) in dwfl_link_map_report()
995 &elfclass, &elfdata, in dwfl_link_map_report()
999 &elfclass, &elfdata, in dwfl_link_map_report()
1062 (&out, &in, elfdata) != NULL)) in dwfl_link_map_report()
1098 r_debug_vaddr = find_executable (dwfl, 0, 0, &elfclass, &elfdata, in dwfl_link_map_report()
1116 return report_r_debug (elfclass, elfdata, dwfl, r_debug_vaddr, in dwfl_link_map_report()